Skip to content

Commit 43984b7

Browse files
authored
Add files via upload
1 parent ca5d381 commit 43984b7

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

PackageInfo.g

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PackageName := "HeLP",
1313
Subtitle := Concatenation( [
1414
"Hertweck-Luthar-Passi method." ] ),
1515
Version := "4.1",
16-
Date := "12/09/2025", # dd/mm/yyyy format
16+
Date := "22/12/2025", # dd/mm/yyyy format
1717
License := "GPL-2.0-or-later",
1818

1919
SourceRepository := rec(
@@ -91,6 +91,16 @@ Dependencies := rec(
9191
],
9292
ExternalConditions := [[ "zsolve", "https://4ti2.github.io" ] ]
9393
),
94+
Extensions := [
95+
rec( needed:= [
96+
[ "4ti2Interface", ">= 2015.04.29" ],
97+
],
98+
filename:= "lib/HeLP_internal_4ti2.gi" ),
99+
rec( needed:= [
100+
[ "NormalizInterface", ">= 0.9.6" ],
101+
],
102+
filename:= "lib/HeLP_internal_normaliz.gi" ),
103+
], # the order of loading implies that if both solvers work, then normaliz is the active by default
94104

95105
TestFile := "tst/testall.g",
96106

read.g

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,11 @@
77
##
88
#############################################################################
99

10-
ReadPackage( "HeLP", "lib/HeLP_internal_functions_no_solving.gi" );
10+
ReadPackage( "HeLP", "lib/HeLP_internal_no_solving.gi" );
1111
ReadPackage( "HeLP", "lib/HeLP_no_solving.gi" );
1212

13-
if not TestPackageAvailability("4ti2Interface") = true and not TestPackageAvailability("NormalizInterface") = true then
14-
Print("WARNING: Neither 4ti2Interface nor NormalizInterface could be loaded. No functions which need to solve a system of inquealities will work. Please install one of the solvers in case you want to use these.\n");
15-
elif not TestPackageAvailability("4ti2Interface") = true and TestPackageAvailability("NormalizInterface") = true then
16-
Print("Only NormalizInterface could be loaded, so normaliz will be used as a solver. \n");
17-
ReadPackage( "HeLP", "lib/HeLP_internal_functions_solving_normaliz.gi");
18-
ReadPackage( "HeLP", "lib/HeLP_solving.gi");
19-
elif TestPackageAvailability("4ti2Interface") = true and not TestPackageAvailability("NormalizInterface") = true then
20-
Print("Only 4ti2Interface could be loaded, so 4ti2 will be used as a solver. \n");
21-
ReadPackage( "HeLP", "lib/HeLP_internal_functions_solving_4ti2.gi");
22-
ReadPackage( "HeLP", "lib/HeLP_solving.gi");
23-
elif TestPackageAvailability("4ti2Interface") = true and TestPackageAvailability("NormalizInterface") = true then
24-
ReadPackage( "HeLP", "lib/HeLP_internal_functions_solving_two_solvers.gi");
25-
ReadPackage( "HeLP", "lib/HeLP_solving.gi");
26-
fi;
13+
ReadPackage( "HeLP", "lib/HeLP_internal_solving.gi" );
14+
ReadPackage( "HeLP", "lib/HeLP_solving.gi" );
15+
16+
2717

0 commit comments

Comments
 (0)