We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c580bad commit e5213d6Copy full SHA for e5213d6
modules/trigonometric_functions/tests/test_cosh.nls
@@ -26,7 +26,7 @@ assert_isequal(cosh(-Inf), Inf);
26
A = rand(100, 100);
27
y1 = cosh(A * i);
28
y2 = complex(cos(A));
29
-assert_isequal(y1, y2);
+assert_isapprox(y1, y2, 1e-4);
30
//=============================================================================
31
A = rand(3, 3, 3);
32
y1 = cosh(complex(zeros(3, 3, 3), A));
0 commit comments