Skip to content

Loading HeLP without NormalizInterface or 4ti2Interface results in syntax warnings #22

@fingolfin

Description

@fingolfin

See the log below.

One fix would be to make NormalizInterface and 4ti2Interface be in NeededOtherPackages instead of SuggestedOtherPackages.

Another would be to move the code invoking NmzCone etc. to a package extension.

Yet another would be to rewrite the code invoking NmzCone etc. to instead use ValueGlobal("NmzCone") etc. (which is clunky of course). Note that the use would still get an error about an undefined global when running that code.

#I  HeLP: PackageAvailabilityInfo: version 4.0 is available
#I  HeLP: start loading needed/suggested/self packages
#I        help
#I  HeLP: start reading file 'init.g'
#I  HeLP: finish reading file 'init.g'
#I  HeLP: start reading file 'read.g'
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:232
  D := NmzCone(["inhom_equations", [T_temp], "inhom_inequalities", temptemp]);\
 #Solve the system
       ^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:234
    NmzCompute(D, ["DualMode", "HilbertBasis", "ModuleGenerators", "MaximalSub\
space", "VerticesOfPolyhedron"]);
    ^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:236
    NmzCompute(D, ["DualMode", "HilbertBasis", "ModuleGenerators", "MaximalSub\
space"]);
    ^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:239
  if NmzModuleGenerators(D) = [ ] then       # No solutions at all
     ^^^^^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:241
  elif NmzHilbertBasis(D) = [ ] and NmzMaximalSubspace(D) = [ ] then # finitel\
y many solutions
       ^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:241
  elif NmzHilbertBasis(D) = [ ] and NmzMaximalSubspace(D) = [ ] then # finitel\
y many solutions
                                    ^^^^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:243
    interintersol := NmzModuleGenerators(D);
                     ^^^^^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:255
    interintersol := NmzModuleGenerators(D);
                     ^^^^^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:257
    if NmzHilbertBasis(D) <> [ ] then
       ^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:258
      HB := List(NmzHilbertBasis(D), x -> x{[1..Size(x)-1]});
                 ^^^^^^^^^^^^^^^
Syntax warning: Unbound global variable in /home/runner/gap/pkg/help/lib/HeLP_\
internal_functions.gi:272
  solutions := 4ti2Interface_zsolve_equalities_and_inequalities([ListWithIdent\
icalEntries(Size(T[1]), 1)], [1], temp[1], -temp[2] : precision := HeLP_settin\
gs[3]);
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#I  HeLP: finish reading file 'read.g'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions