We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16340a8 commit 332e795Copy full SHA for 332e795
ql/models/shortrate/onefactormodels/gsr.cpp
@@ -90,8 +90,10 @@ namespace QuantLib {
90
}
91
92
void Gsr::update() {
93
- if (stateProcess_ != nullptr)
+ if (stateProcess_ != nullptr) {
94
ext::static_pointer_cast<GsrProcess>(stateProcess_)->flushCache();
95
+ ext::static_pointer_cast<GsrProcess>(stateProcess_)->notifyObservers();
96
+ }
97
LazyObject::update();
98
99
0 commit comments