Revision: 753
http://svn.sourceforge.net/pygccxml/?rev=753&view=rev
Author: roman_yakovenko
Date: 2006-11-25 22:23:23 -0800 (Sat, 25 Nov 2006)
Log Message:
-----------
fixing MSVC 7.1 compilation bug
Modified Paths:
--------------
pyplusplus_dev_ft/unittests/data/function_transformations_to_be_exported.hpp
Modified: pyplusplus_dev_ft/unittests/data/function_transformations_to_be_exported.hpp
===================================================================
--- pyplusplus_dev_ft/unittests/data/function_transformations_to_be_exported.hpp 2006-11-25 19:25:49 UTC (rev 752)
+++ pyplusplus_dev_ft/unittests/data/function_transformations_to_be_exported.hpp 2006-11-26 06:23:23 UTC (rev 753)
@@ -83,7 +83,7 @@
}
static void distance( const point3d_t& pt, double& dist ){
- dist = sqrt( pt.x*pt.x + pt.y*pt.y + pt.z*pt.z );
+ dist = sqrt( double( pt.x*pt.x + pt.y*pt.y + pt.z*pt.z ) );
}
int x, y, z;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|