Commit ca21532c authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Mods to remove VC 8 warnings

parent 4112ece5
......@@ -32,7 +32,7 @@
#include "../SimTKReference/ReferenceForce.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 ){
const RealOpenMM* scaledRadii = gbviParameters->getScaledRadii();
RealOpenMM* switchDeriviative = getSwitchDeriviative();
double stupidFactor = three/CAL_TO_JOULE;
RealOpenMM stupidFactor = three/CAL_TO_JOULE;
const RealOpenMM* bornRadiusScaleFactors = gbviParameters->getBornRadiusScaleFactors();
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