mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Fix typo
This commit is contained in:
committed by
EmilieNumworks
parent
42cdf95e9f
commit
af1066f16e
@@ -27,7 +27,7 @@ void assert_regression_is(double * xi, double * yi, int numberOfPoints, Model::T
|
||||
// Compute the coefficients
|
||||
double * coefficients = store.coefficientsForSeries(series, &context);
|
||||
|
||||
// Comapre the coefficients
|
||||
// Compare the coefficients
|
||||
int numberOfCoefs = store.modelForSeries(series)->numberOfCoefficients();
|
||||
for (int i = 0; i < numberOfCoefs; i++) {
|
||||
quiz_assert(std::fabs(coefficients[i] - trueCoefficients[i]) < precision);
|
||||
|
||||
Reference in New Issue
Block a user