Simple fix for Sundials 3.2 compatibility
The Sundials 3.1 and 3.2 are compatible with each other so this patch just allows to pass check for the installed Sundials 3.2
This commit is contained in:
parent
97356a48df
commit
3b948e17d4
1 changed files with 1 additions and 1 deletions
|
|
@ -1091,7 +1091,7 @@ if env['system_sundials'] == 'y':
|
|||
|
||||
# Ignore the minor version, e.g. 2.4.x -> 2.4
|
||||
env['sundials_version'] = '.'.join(sundials_version.split('.')[:2])
|
||||
if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1'):
|
||||
if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1','3.2'):
|
||||
print("""ERROR: Sundials version %r is not supported.""" % env['sundials_version'])
|
||||
sys.exit(1)
|
||||
print("""INFO: Using system installation of Sundials version %s.""" % sundials_version)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue