From 3b948e17d434e9dfe6f5b2b053152cce6ab70e31 Mon Sep 17 00:00:00 2001 From: band-a-prend Date: Thu, 25 Jul 2019 00:06:45 +0300 Subject: [PATCH] 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 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 846c1d7e5..f191beb8e 100644 --- a/SConstruct +++ b/SConstruct @@ -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)