Opened 7 years ago

Closed 7 years ago

#11738 closed Bugs (fixed)

examples/numeric/odeint/lorenz_point.cpp: point3D division operator

Reported by: anonymous Owned by: karsten
Milestone: To Be Determined Component: odeint
Version: Boost 1.58.0 Severity: Cosmetic
Keywords: Cc:

Description

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 )

Change History (1)

comment:1 by karsten, 7 years ago

Resolution: fixed
Status: newclosed

Thanks for reporting. I have fixed this issue in the github version of odeint. It will appear in the next release in the official version.

Note: See TracTickets for help on using tickets.