Skip to content

Commit

Permalink
fixed an error with the parse tuple getting the wrong tuple for the f…
Browse files Browse the repository at this point in the history
…loat precision variable if example HAS_MPI
  • Loading branch information
shahbajsohal committed Aug 3, 2023
1 parent 26bf54b commit a4cd17e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/macros/SundialsParseTuple.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ macro(sundials_parse_tuple example_tuple)
if(sundials_parse_tuple_FLT_PRECISION_VAR)
if(HAS_OPENMP)
list(GET example_tuple 3 ${sundials_parse_tuple_FLT_PRECISION_VAR})
else()
elseif(HAS_MPI)
list(GET example_tuple 5 ${sundials_parse_tuple_FLT_PRECISION_VAR})
else()
endif()
endif()
if(sundials_parse_tuple_INT_PRECISION_VAR)
Expand Down

0 comments on commit a4cd17e

Please sign in to comment.