mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Modify test expression to avoid numerical differences (#2402).
This commit is contained in:
@@ -244,7 +244,7 @@ static void test_eval_tensor_binary_with_unary_expr_block() {
|
||||
rhs.setRandom();
|
||||
|
||||
VerifyBlockEvaluator<T, NumDims, Layout>(
|
||||
(lhs.square() + rhs.square()).sqrt(),
|
||||
(lhs.abs() + rhs.abs()).sqrt(),
|
||||
[&dims]() { return RandomBlock<Layout>(dims, 1, 10); });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user