Skip to content

Commit

Permalink
gd
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Nov 27, 2024
1 parent c631d03 commit 40c5497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/function/gd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ TTS_CASE_WITH ( "Check kyosu::gd over real"
<typename T>(T a0, T a1)
{
kyosu::complex_t<T> data(a0, a1);
TTS_RELATIVE_EQUAL(kyosu::tanh(kyosu::gd(data/2)), kyosu::tan(kyosu::gd(data)/2), tts::prec<T>(1.0e-2, 3.0e-4));
TTS_RELATIVE_EQUAL(kyosu::tanh(kyosu::gd(data/2)), kyosu::tan(kyosu::gd(data)/2), tts::prec<T>(1.0e-1, 3.0e-3));
};

0 comments on commit 40c5497

Please sign in to comment.