Skip to content

Commit

Permalink
use JuliaSymbol and Julia.GAP.(...) syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer authored and fingolfin committed Apr 13, 2022
1 parent 836f6a3 commit 4ab5336
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/JuliaInterface/gap/utils.gi
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ function( name, val )
if not IsString( name ) then
Error( "JuliaSetVal: <name> must be a string (not the value '", name, "')" );
else
JuliaFunction( "_setglobal!", "GAP" )( Julia.Main,
Julia.Symbol( GAPToJulia( name ) ), val );
Julia.GAP.( "_setglobal!" )( Julia.Main, JuliaSymbol( name ), val );
fi;
end );

Expand Down

0 comments on commit 4ab5336

Please sign in to comment.