make tran_active non-throwing.

This commit is contained in:
Markus Blatt
2020-09-17 11:19:44 +02:00
parent 3a6cd37db1
commit d83790164d
2 changed files with 3 additions and 3 deletions

View File

@@ -1825,7 +1825,7 @@ MAXVALUE
BOOST_CHECK(!fpm.has_double("TRANX"));
BOOST_CHECK_THROW(fpm.apply_tran("TRANA", tranx), std::out_of_range);
BOOST_CHECK_THROW(fpm.tran_active("TRANA"), std::out_of_range);
BOOST_CHECK(!fpm.tran_active("TRANA"));
fpm.apply_tran("TRANX", tranx);
fpm.apply_tran("TRANY", trany);