You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the tests, some units need to initialize the AD directions with
zero. This is not done sometimes when multiple tests are run: The number
of AD directions used might still be set from the previous test, leading
to uninitialized value errors.
Thus, we set the AD directions before configuring the units.
Co-authored-by: Jan Breuer <[email protected]>
cadet::ad::setDirections(cadet::ad::getMaxDirections()); // AD directions needed in createAndConfigureUnit but requiredADdirs not know before configureModelDiscretization (which is called in configureUnit)
cadet::ad::setDirections(cadet::ad::getMaxDirections()); // AD directions needed in createAndConfigureUnit but requiredADdirs not know before configureModelDiscretization (which is called in configureUnit)
0 commit comments