Skip to content

Commit 7c83cb5

Browse files
rolandlichtersjenkins
authored andcommitted
QPR-12442 notebook 5, model size error
1 parent d3404f7 commit 7c83cb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREData/ored/scripting/models/gaussiancam.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ RandomVariable GaussianCam::npv(const RandomVariable& amount, const Date& obsdat
658658
// store model if requried
659659

660660
if (memSlot) {
661-
storedRegressionModel_[*memSlot] = std::make_tuple(coeff, nModelStates, coordinateTransform);
661+
storedRegressionModel_[*memSlot] = std::make_tuple(coeff, nModelStates + nAddReg, coordinateTransform);
662662
}
663663

664664
} else {

0 commit comments

Comments
 (0)