Skip to content

Commit

Permalink
bad asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Dec 8, 2023
1 parent c27e35a commit 2a75703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/kyosu/types/impl/besselr/cb_jyr01.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace kyosu::_
template<eve::floating_scalar_value N, typename Z>
auto cb_jyr01( N v0, Z z) noexcept
{
EVE_ASSERT(eve::is_gtz(v0) && eve::is_ltz(oneminus(v0)) "v0 is not in ]0, 1[");
EVE_ASSERT(eve::is_gtz(v0) && eve::is_ltz(oneminus(v0)), "v0 is not in ]0, 1[");
auto v1 = inc(v0); // 1 < v1 < 2

using u_t = eve::underlying_type_t<Z>;
Expand Down
2 changes: 1 addition & 1 deletion include/kyosu/types/impl/detail/bessel_jyr01.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace kyosu::_
template<eve::floating_scalar_value N, typename Z>
auto cb_jyr01( N v0, Z z) noexcept
{
EVE_ASSERT(eve::is_gtz(v0) && eve::is_ltz(oneminus(v0)) "v0 is not in ]0, 1[");
EVE_ASSERT(eve::is_gtz(v0) && eve::is_ltz(oneminus(v0)), "v0 is not in ]0, 1[");
auto v1 = inc(v0); // 1 < v1 < 2

using u_t = eve::underlying_type_t<Z>;
Expand Down

0 comments on commit 2a75703

Please sign in to comment.