Skip to content

Commit 6ab3829

Browse files
pcaspersjenkins
authored andcommitted
QPR-12442 fix size
1 parent ed9cd48 commit 6ab3829

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)