提交 8205860e 编写于 作者: Z zhangwen31

fix: remove unused variable test=develop

上级 d4afbb1d
......@@ -65,15 +65,11 @@ class PowComputeTester : public arena::TestCase {
};
void test_pow(Place place) {
for (float scale : {0.923, 2., 1.2}) {
for (float shift : {1., 0., 1.2331}) {
for (float factor : {1., 1.2, 1.6}) {
std::unique_ptr<arena::TestCase> tester(
new PowComputeTester(place, "def", factor));
arena::Arena arena(std::move(tester), place, 2e-4);
arena.TestPrecision();
}
}
for (float factor : {1., 1.2, 1.6}) {
std::unique_ptr<arena::TestCase> tester(
new PowComputeTester(place, "def", factor));
arena::Arena arena(std::move(tester), place, 2e-4);
arena.TestPrecision();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册