Skip to content

Commit

Permalink
Bump AnyODE version
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Feb 6, 2018
1 parent cd68f42 commit bc8431d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.9.2
======
- Bump AnyODE version

v0.9.1
======
- variable tidx exposed in simple_adaptive
Expand Down
5 changes: 3 additions & 2 deletions external/anyode/include/anyode/anyode.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#ifdef ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37

#if ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 != 10
#if ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 != 11
#error "Multiple anyode.hpp files included with version mismatch"
#endif

#else
#define ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 10
#define ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 11


#include <string>
Expand All @@ -21,6 +21,7 @@ namespace AnyODE {
struct OdeSysBase {
int nfev=0, njev=0;
void * integrator = nullptr;
void * user_data = nullptr;
std::unordered_map<std::string, int> last_integration_info;
std::unordered_map<std::string, double> last_integration_info_dbl;
std::unordered_map<std::string, std::vector<double> > last_integration_info_vecdbl;
Expand Down
1 change: 0 additions & 1 deletion external/anyode/include/anyode/anyode_iterative.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ namespace AnyODE {
{
// See 4.6.9 on page 75 in cvs_guide.pdf (Sundials 2.6.2)
// Solves P*z = r, where P ~= I - gamma*J
const int ny = this->get_ny();
if (ewt)
throw std::runtime_error("Not implemented.");
m_nprec_solve++;
Expand Down

0 comments on commit bc8431d

Please sign in to comment.