Skip to content

Commit

Permalink
Pin test date to default for test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Feb 27, 2024
1 parent af1e9db commit ea15ebb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test-suite/convertiblebonds.cpp
Expand Up @@ -72,8 +72,7 @@ struct CommonVars {
CommonVars() {
calendar = TARGET();

today = calendar.adjust(Date::todaysDate());
Settings::instance().evaluationDate() = today;
today = Settings::instance().evaluationDate();

dayCounter = Actual360();
frequency = Annual;
Expand Down

0 comments on commit ea15ebb

Please sign in to comment.