Menu

Commit [r30504]  Maximize  Restore  History

add a check that parameter is valid in the setter

I used to set the number of threads to 0 to disable the parallel version
of QSim, which used to work fine but now results in a dividion by 0. I
prefer if the crash happens directly when reading config.

thibautd 2014-10-07

changed /matsim/trunk/src/main/java/org/matsim/core/config/groups/QSimConfigGroup.java
/matsim/trunk/src/main/java/org/matsim/core/config/groups/QSimConfigGroup.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB