|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57072 - in sandbox/odeint: boost/numeric/odeint libs/numeric/odeint/examples
From: mario.mulansky_at_[hidden]
Date: 2009-10-22 11:54:47
Author: mariomulansky
Date: 2009-10-22 11:54:47 EDT (Thu, 22 Oct 2009)
New Revision: 57072
URL: http://svn.boost.org/trac/boost/changeset/57072
Log:
+concept check
Text files modified:
sandbox/odeint/boost/numeric/odeint/euler.hpp | 4 ++--
sandbox/odeint/libs/numeric/odeint/examples/lorenz.cpp | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
Modified: sandbox/odeint/boost/numeric/odeint/euler.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/euler.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/euler.hpp 2009-10-22 11:54:47 EDT (Thu, 22 Oct 2009)
@@ -17,7 +17,7 @@
#ifndef BOOST_NUMERIC_ODEINT_EULER_HPP
#define BOOST_NUMERIC_ODEINT_EULER_HPP
-#include "/usr/include/boost/concept_check.hpp"
+#include <boost/concept_check.hpp>
namespace boost {
namespace numeric {
@@ -26,7 +26,7 @@
template< class ContainerType >
class ode_step_euler
{
- BOOST_CONCEPT_ASSERT((ForwardContainer<ContainerType>));
+ BOOST_CLASS_REQUIRE( ContainerType , boost , SequenceConcept );
ContainerType dxdt;
public:
Modified: sandbox/odeint/libs/numeric/odeint/examples/lorenz.cpp
==============================================================================
--- sandbox/odeint/libs/numeric/odeint/examples/lorenz.cpp (original)
+++ sandbox/odeint/libs/numeric/odeint/examples/lorenz.cpp 2009-10-22 11:54:47 EDT (Thu, 22 Oct 2009)
@@ -39,6 +39,7 @@
const double dt = 0.01;
const size_t olen = 10000;
+//typedef array<double, 3> state_type;
typedef vector<double> state_type;
//typedef list<double> state_type;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk