"vscode:/vscode.git/clone" did not exist on "55cdd9a64faeae237171fb557cf4b296826d6c7d"
Commit ca21532c authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Mods to remove VC 8 warnings

parent 4112ece5
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "../SimTKReference/ReferenceForce.h" #include "../SimTKReference/ReferenceForce.h"
#include <math.h> #include <math.h>
static const double CAL_TO_JOULE = 0.4184; static const RealOpenMM CAL_TO_JOULE = 0.4184f;
/**--------------------------------------------------------------------------------------- /**---------------------------------------------------------------------------------------
...@@ -943,7 +943,7 @@ if( atomI == 0 ){ ...@@ -943,7 +943,7 @@ if( atomI == 0 ){
const RealOpenMM* scaledRadii = gbviParameters->getScaledRadii(); const RealOpenMM* scaledRadii = gbviParameters->getScaledRadii();
RealOpenMM* switchDeriviative = getSwitchDeriviative(); RealOpenMM* switchDeriviative = getSwitchDeriviative();
double stupidFactor = three/CAL_TO_JOULE; RealOpenMM stupidFactor = three/CAL_TO_JOULE;
const RealOpenMM* bornRadiusScaleFactors = gbviParameters->getBornRadiusScaleFactors(); const RealOpenMM* bornRadiusScaleFactors = gbviParameters->getBornRadiusScaleFactors();
for( int atomI = 0; atomI < numberOfAtoms; atomI++ ){ for( int atomI = 0; atomI < numberOfAtoms; atomI++ ){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment