Skip to content

Commit

Permalink
Update lib/package.gi
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Breuer <[email protected]>
  • Loading branch information
fingolfin and ThomasBreuer authored Nov 7, 2024
1 parent 628aa37 commit d4e6a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package.gi
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ InstallGlobalFunction( PackageAvailabilityInfo,

# Test whether the availability test function fits.
GAPInfo.PackageCurrent:= inforec;
test:= (not IsBound(inforec.AvailabilityTest)) or inforec.AvailabilityTest();
test:= (not IsBound(inforec.AvailabilityTest)) or (inforec.AvailabilityTest() = true);
Unbind( GAPInfo.PackageCurrent );
if test = true then
LogPackageLoadingMessage( PACKAGE_DEBUG,
Expand Down

0 comments on commit d4e6a82

Please sign in to comment.