Skip to content

Commit

Permalink
removed OptionalComponentsPresent from Msolve
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud authored and d-torrance committed Aug 15, 2024
1 parent 8cee672 commit 9c066b0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions M2/Macaulay2/packages/Msolve.m2
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ msolveProgram = findProgram("msolve", "msolve --help",
Verbose => debugLevel > 0)

if msolveProgram === null then (
if not (options currentPackage).OptionalComponentsPresent
then ( printerr "warning: msolve cannot be found; ending"; end )
else ( printerr("warning: msolve found but its version is older than v" | msolveMinimumVersion);
-- note: msolve -h returns status code 1 :/
msolveProgram = findProgram("msolve", "true", Verbose => debugLevel > 0)))
printerr("warning: could not find msolve with version at least v" | msolveMinimumVersion);
-- note: msolve -h returns status code 1 :/
msolveProgram = findProgram("msolve", "true", Verbose => debugLevel > 0))

msolveDefaultOptions = new OptionTable from {
Threads => allowableThreads,
Expand Down

0 comments on commit 9c066b0

Please sign in to comment.