diff --git a/tests/poissonTest.m b/tests/poissonTest.m index b2a308be..bd5c1f41 100644 --- a/tests/poissonTest.m +++ b/tests/poissonTest.m @@ -144,7 +144,7 @@ function PoissonMoments(testCase) testCase.verifyEqual(errMean+errVar<0.01, true, ... 'Solution Mean and Variance not within 1% Tolerance'); - var2 = squeeze(model.Solutions.momenstsCOV(1,1,:))'; + var2 = squeeze(model.Solutions.momentsCOV(1,1,:))'; errVar2 = max(abs((var2-mn)./mn)); testCase.verifyEqual(errVar2<0.01, true, ... 'Solution Mean and Variance not within 1% Tolerance'); @@ -738,4 +738,4 @@ function TestAdvancedDataLoading(testCase) end end -end \ No newline at end of file +end