Skip to content

Commit

Permalink
h1 correction
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Nov 12, 2023
1 parent e2a113a commit 7662685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/kyosu/types/impl/detail/bessel_h.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ namespace kyosu::_
auto h0 = if_else(imzlt0, i*exp(miz), -i*exp(-miz))*rz;
if(n == 0) return h0;
auto h1 = if_else(imzlt0, (rz+i),(rz-i))*h0 ;
if(n == 1) return h1;
if(n == 1) return if_else(imzlt0,h1, -h1);

auto h2 = h1;
for(int i=1; i < n; ++i)
Expand Down

0 comments on commit 7662685

Please sign in to comment.