[Boost-bugs] [Boost C++ Libraries] #10841: runtime error boost::numeric:; odeint::

Subject: [Boost-bugs] [Boost C++ Libraries] #10841: runtime error boost::numeric:; odeint::
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-03 04:32:55

#10841: runtime error boost::numeric:;odeint::
 Reporter: taghia.javad@… | Owner: karsten
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: odeint
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: odeint-v2, |
 Dear all,

 I encountered a run-time error while using odeint. In a class method this
 command is executed:

 size_t size =boost::numeric::odeint::integrate(model, x, 0.0, 1.0, 0.1);

 when x is a VECTOR defined as:

 typedef std::vector<double> state_type;

 No compile, link errors occur; however, in run-time following window pops
 up after some iteration of the integrator.
 It says:
 '''vector iterator not incrementable.''' as shown in figure attached.

 By changing vector definition to array definition the problem will be
 resolved. So the following works when 3 is number of states:

 typedef boost::array< double , 3 > state_type;

 This problem happens by use of the odeint-v2 commit messaged "fixes #142,
 fixes boost include issue in bjam" and boost 1.56.0 on Windows 8 64 bits,
 Visual Studio 2012, platform v110 (equivalent c++11).

Ticket URL: <https://svn.boost.org/trac/boost/ticket/10841>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC