Skip to content

Commit

Permalink
unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bemcdonnell committed Jun 16, 2023
1 parent d5beae5 commit d6c4806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/solver/test_toolkit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ BOOST_FIXTURE_TEST_CASE(project_info_metric, FixtureMetric) {

#if defined(_OPENMP)
error = swmm_setSimulationParam(SM_THREADS, 2);
error = swmm_setSimulationParam(SM_THREADS, &value);
error = swmm_getSimulationParam(SM_THREADS, &value);
BOOST_REQUIRE(error == ERR_NONE);
BOOST_CHECK_EQUAL(value, 2);
#endif
Expand Down

0 comments on commit d6c4806

Please sign in to comment.