diff --git a/include/kyosu/types/impl/compounds.hpp b/include/kyosu/types/impl/compounds.hpp index 66de2363..64ef3576 100644 --- a/include/kyosu/types/impl/compounds.hpp +++ b/include/kyosu/types/impl/compounds.hpp @@ -114,11 +114,11 @@ namespace kyosu { auto r1 = (self * if_else(is_infinite(other), eve::zero, conj(other)/sqr_abs(other))); auto eqzother = is_eqz(other); - if(eve::none(eqzother)) [[likely]] + if(eve::none(eqzother)) { self = r1; } - else [[unlikely]] + else { self = if_else(is_eqz(other), self/real(other), r1); } diff --git a/include/kyosu/types/impl/math.hpp b/include/kyosu/types/impl/math.hpp index b31d6e93..30c730ee 100644 --- a/include/kyosu/types/impl/math.hpp +++ b/include/kyosu/types/impl/math.hpp @@ -261,7 +261,7 @@ namespace kyosu::_ , complex(ii1, rr1) ); res = if_else(is_pure(z), eve::sqrt_2(eve::as(r))*complex( eve::half(eve::as(r)), eve::half(eve::as(r)))*eve::sqrt(iz), res); - if (eve::any(is_not_finite(z))) [[unlikely]] + if (eve::any(is_not_finite(z))) { res = kyosu::if_else(rz == eve::minf(eve::as(rz)) , kyosu::if_else( eve::is_nan(iz), complex(iz, eve::minf(eve::as(rz)))