Skip to content

Commit

Permalink
removed two duplicate \[\] methods
Browse files Browse the repository at this point in the history
(These methods are also in `pkg/JuliaInterface/gap/adapter.gi`.)
  • Loading branch information
ThomasBreuer committed Apr 24, 2023
1 parent 1b14b59 commit 95ebee8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pkg/JuliaInterface/gap/JuliaInterface.gi
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,6 @@ end);

InstallValue( Julia, _WrapJuliaModule( "Main", _JuliaGetGlobalVariable( "Main" ) ) );

InstallOtherMethod( \[\],
[ "IsJuliaObject", "IsPosInt and IsSmallIntRep" ],
function( obj, i )
return Julia.Base.getindex( obj, i );
end );

InstallOtherMethod( \[\],
[ "IsJuliaObject", "IsPosInt and IsSmallIntRep",
"IsPosInt and IsSmallIntRep" ],
function( obj, i, j )
return Julia.Base.getindex( obj, i, j );
end );

InstallGlobalFunction( "JuliaIncludeFile",
function( filename, module_name... )
if Length( module_name ) = 0 then
Expand Down

0 comments on commit 95ebee8

Please sign in to comment.