Skip to content

Commit

Permalink
Merge pull request #588 from mohamed-barakat/devel
Browse files Browse the repository at this point in the history
fixed loading of Julia.gi
  • Loading branch information
mohamed-barakat authored Sep 29, 2024
2 parents 91f4ed7 + 76fba5f commit ea57cf8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion FpCategories/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "FpCategories",
Subtitle := "Finitely presented categories by generating quivers and relations",
Version := "2024.09-06",
Version := "2024.09-07",
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
License := "GPL-2.0-or-later",

Expand Down
2 changes: 1 addition & 1 deletion FpCategories/gap/Quivers.gd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ DeclareCategory( "IsFinQuiverMorphism",
#! This list might contain an optional fifth entry for the list of LaTeX-strings for the morphisms.
#! @Arguments q_datum
#! @Returns a ∩ quiver
DeclareGlobalFunction( "FinQuiver" );
DeclareOperation( "FinQuiver", [ IsList ] );
#! @InsertChunk FinQuiver

if false then
Expand Down
3 changes: 2 additions & 1 deletion FpCategories/gap/Quivers.gi
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ InstallGlobalFunction( RandomFinQuiver,
end );

##
InstallGlobalFunction( FinQuiver,
InstallMethod( FinQuiver,
[ IsList ],

function ( q_datum )
local colors, name, q;
Expand Down
4 changes: 0 additions & 4 deletions FpCategories/init.g
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ ReadPackage( "FpCategories", "gap/CategoryFromNerveData.gd");
ReadPackage( "FpCategories", "gap/Tools.gd");
ReadPackage( "FpCategories", "gap/ToolsMethodRecordDeclarations.autogen.gd");
ReadPackage( "FpCategories", "gap/SimplicialCategory.gd");

if IsPackageMarkedForLoading( "JuliaInterface", ">= 0.2" ) then
ReadPackage( "FpCategories", "gap/Julia.gi" );
fi;
4 changes: 4 additions & 0 deletions FpCategories/read.g
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ ReadPackage( "FpCategories", "gap/ToolsMethodRecord.gi");
ReadPackage( "FpCategories", "gap/ToolsMethodRecordInstallations.autogen.gi");
ReadPackage( "FpCategories", "gap/ToolsDerivedMethods.gi");
ReadPackage( "FpCategories", "gap/SimplicialCategory.gi");

if IsPackageMarkedForLoading( "JuliaInterface", ">= 0.2" ) then
ReadPackage( "FpCategories", "gap/Julia.gi" );
fi;

0 comments on commit ea57cf8

Please sign in to comment.