Skip to content

Commit

Permalink
Update changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Sep 16, 2024
1 parent ef1383c commit 26c888e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Changelog
New
~~~

- Non-number exponents for the ``pow()`` function
are now supported in Taylor integrators
(`#454 <https://github.com/bluescarni/heyoka/pull/454>`__).
- It is now possible to initialise a Taylor integrator
with an empty initial state vector. This will result
in zero-initialization of the state vector
Expand Down
4 changes: 1 addition & 3 deletions src/math/pow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,7 @@ llvm::Value *taylor_diff_pow_impl(llvm_state &s, llvm::Type *fp_t, const pow_imp
auto *div = llvm_fmul(s, ord_f, b0);

// Compute and return the result: ret_acc / div.
auto *ret = llvm_fdiv(s, ret_acc, div);

return ret;
return llvm_fdiv(s, ret_acc, div);
}

// LCOV_EXCL_START
Expand Down

0 comments on commit 26c888e

Please sign in to comment.