build error fix
This commit is contained in:
@@ -61,8 +61,8 @@ TEST_CASE("OrthogonalInitTest", "[InitRulesTest]")
|
||||
for (size_t i = 0; i < weights.n_rows; ++i)
|
||||
for (size_t j = 0; j < weights.n_cols; ++j)
|
||||
{
|
||||
REQUIRE(weights.at(i, j) - orthogonalWeights.at(i, j)) ==
|
||||
Approx(0.0).margin(1e-3);
|
||||
REQUIRE((weights.at(i, j) - orthogonalWeights.at(i, j)) ==
|
||||
Approx(0.0).margin(1e-3));
|
||||
}
|
||||
|
||||
orthogonalInit.Initialize(weights, 200, 100);
|
||||
@@ -71,8 +71,8 @@ TEST_CASE("OrthogonalInitTest", "[InitRulesTest]")
|
||||
for (size_t i = 0; i < weights.n_rows; ++i)
|
||||
for (size_t j = 0; j < weights.n_cols; ++j)
|
||||
{
|
||||
REQUIRE(weights.at(i, j) - orthogonalWeights.at(i, j)) ==
|
||||
Approx(0.0).margin(1e-3);
|
||||
REQUIRE((weights.at(i, j) - orthogonalWeights.at(i, j)) ==
|
||||
Approx(0.0).margin(1e-3));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,8 +94,8 @@ TEST_CASE("OrthogonalInitGainTest", "[InitRulesTest]")
|
||||
for (size_t i = 0; i < weights.n_rows; ++i)
|
||||
for (size_t j = 0; j < weights.n_cols; ++j)
|
||||
{
|
||||
REQUIRE(weights.at(i, j) - orthogonalWeights.at(i, j)) ==
|
||||
Approx(0.0).margin(1e-3);
|
||||
REQUIRE((weights.at(i, j) - orthogonalWeights.at(i, j)) ==
|
||||
Approx(0.0).margin(1e-3));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user