Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change 'nonnegative' to 'non-negative' for consistency #942

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 );