Skip to content

Commit

Permalink
Change 'nonnegative' to 'non-negative' for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Sep 18, 2023
1 parent 5471f12 commit 6858cd2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/JuliaExperimental/gap/finvar.gi
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ InstallGlobalFunction( EvaluateMolienSeries, function( R, d )
##
InstallGlobalFunction( MonomialsOfGivenDegree, function( R, d )
if not IsInt( d ) or d < 0 then
Error( "<d> must be a nonnegative integer" );
Error( "<d> must be a non-negative integer" );
elif d = 0 then
return [ One( R ) ];
fi;
Expand Down
4 changes: 2 additions & 2 deletions pkg/JuliaInterface/gap/adapter.gi
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ InstallMethod( Init,
SetJuliaPointer( rng, seed );
fi;
else
Error( "<seed> must be a nonnegative integer ",
Error( "<seed> must be a non-negative integer ",
"or a Julia random number generator" );
fi;
return rng;
Expand All @@ -194,7 +194,7 @@ InstallMethod( Reset,
# This means a prescribed state.
Julia.Base.copy\!( JuliaPointer( rng ), seed );
else
Error( "<seed> must be a nonnegative integer ",
Error( "<seed> must be a non-negative integer ",
"or a Julia random number generator" );
fi;

Expand Down
4 changes: 2 additions & 2 deletions pkg/JuliaInterface/tst/adapter.tst
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ true

# possible errors
gap> RandomSource( IsRandomSourceJulia, "random" );
Error, <seed> must be a nonnegative integer or a Julia random number generator
Error, <seed> must be a non-negative integer or a Julia random number generator
gap> Reset( rs, "random" );;
Error, <seed> must be a nonnegative integer or a Julia random number generator
Error, <seed> must be a non-negative integer or a Julia random number generator

#
gap> STOP_TEST( "adapter.tst", 1 );

0 comments on commit 6858cd2

Please sign in to comment.