[poincare/normcdf2] Fix shallowReduce (mu and var indexes were wrong)

This commit is contained in:
Léa Saviot
2019-09-19 10:48:12 +02:00
committed by EmilieNumworks
parent 39093b0aa9
commit 3911dc89b7
4 changed files with 14 additions and 2 deletions

View File

@@ -19,8 +19,8 @@ Expression NormalDistributionFunction::shallowReduce(Context * context, bool * s
}
}
Expression mu = childAtIndex(1);
Expression var = childAtIndex(2);
Expression mu = childAtIndex(muIndex());
Expression var = childAtIndex(varIndex());
// Check mu and var
bool muAndVarOK = false;