Subject: [Boost-bugs] [Boost C++ Libraries] #11738: examples/numeric/odeint/lorenz_point.cpp: point3D division operator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-18 11:14:34
#11738: examples/numeric/odeint/lorenz_point.cpp: point3D division operator
------------------------------+----------------------
Reporter: anonymous | Owner: karsten
Type: Bugs | Status: new
Milestone: To Be Determined | Component: odeint
Version: Boost 1.58.0 | Severity: Cosmetic
Keywords: |
------------------------------+----------------------
Is the division operator of point3D correct?
--- lorenz_point.cpp~ 2015-03-18 20:53:11.000000000 +0100
+++ lorenz_point.cpp 2015-10-18 13:10:51.540763291 +0200
@@ -58,7 +58,7 @@
// only required for steppers with error control
point3D operator/( const point3D &p1 , const point3D &p2 )
{
- return point3D( p1.x/p2.x , p1.y/p2.y , p1.z/p1.z );
+ return point3D( p1.x/p2.x , p1.y/p2.y , p1.z/p2.z );
}
point3D abs( const point3D &p )
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11738> 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:19 UTC