build error fix

This commit is contained in:
Aakash Kaushik
2020-11-01 01:39:35 +05:30
parent 080a619483
commit 263d540413
+6 -6
View File
@@ -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));
}
}