ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/Utility.hpp
(Generate patch)

Comparing trunk/src/utils/Utility.hpp (file contents):
Revision 1879 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 1896 by gezelter, Tue Jul 2 20:02:31 2013 UTC

# Line 49 | Line 49 | namespace OpenMD {
49  
50   using namespace std;
51   namespace OpenMD {
52 <  inline RealType roundMe( RealType x ){
52 >  inline RealType roundMe( const RealType &x ){
53      return ( x >= 0 ) ? floor( x + 0.5 ) : ceil( x - 0.5 );
54    }
55  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines