Skip to content

Commit

Permalink
asserts removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Dec 8, 2023
1 parent 2a75703 commit 84a0251
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions include/kyosu/types/impl/bessel/cb_jyn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ namespace kyosu::_
auto cb_jyn(N nn, Z z, R1& cjv, R2& cyv) noexcept
requires(concepts::complex<Z> || eve::floating_ordered_value<Z>)
{
EVE_ASSERT(size(cjv) > nn, "not room enough in js");
EVE_ASSERT(size(cyv) > nn, "not room enough in ys");
// EVE_ASSERT(size(cjv) > nn, "not room enough in js");
// EVE_ASSERT(size(cyv) > nn, "not room enough in ys");
using u_t = eve::underlying_type_t<Z>;
auto n = eve::abs(nn);
if (n <= 1)
Expand Down
4 changes: 2 additions & 2 deletions include/kyosu/types/impl/besselr/cb_jyr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ namespace kyosu::_
{
int n = int(v);
int an = eve::abs(n);
EVE_ASSERT(size(cjv) > an, "not enough room in js");
EVE_ASSERT(size(cyv) > an, "not enough room in ys");
// EVE_ASSERT(size(cjv) > an, "not enough room in js");
// EVE_ASSERT(size(cyv) > an, "not enough room in ys");
if (eve::is_flint(v))
{
return cb_jyn(int(v), z, cjv, cyv);
Expand Down
4 changes: 2 additions & 2 deletions include/kyosu/types/impl/detail/bessel_jyr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ namespace kyosu::_
{
EVE_ASSERT(is_not_flint(v), "v must not be a flint");
int n = int(v);
EVE_ASSERT(size(cjv) > n, "not enough room in js");
EVE_ASSERT(size(cyv) > n, "not enough room in ys");
// EVE_ASSERT(size(cjv) > n, "not enough room in js");
// EVE_ASSERT(size(cyv) > n, "not enough room in ys");
auto v0 = frac(v); // v = n+v0 0 < v0 < 1 as v is not a flint
// compute cjv0, cjv1, cyv0, cyv1;
auto [cjv0, cyv0, cjv1, cyv1] = kyosu::_::cb_jyr01(v0, z);
Expand Down
4 changes: 2 additions & 2 deletions include/kyosu/types/impl/detail/bessel_jyr_old.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ namespace kyosu::_
{
EVE_ASSERT(is_not_flint(v), "v must not be a flint");
int n = int(v);
EVE_ASSERT(size(js) > n, "not enough room in js");
EVE_ASSERT(size(ys) > n, "not enough room in ys");
// EVE_ASSERT(size(js) > n, "not enough room in js");
// EVE_ASSERT(size(ys) > n, "not enough room in ys");
using u_t = eve::underlying_type_t<Z>;
auto el = u_t(0.5772156649015329);
auto rp2 = u_t( 0.63661977236758);
Expand Down

0 comments on commit 84a0251

Please sign in to comment.