Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
ca21532c
Commit
ca21532c
authored
Nov 23, 2009
by
Mark Friedrichs
Browse files
Mods to remove VC 8 warnings
parent
4112ece5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
plugins/freeEnergy/platforms/reference/src/gbsa/CpuGBVISoftcore.cpp
...eeEnergy/platforms/reference/src/gbsa/CpuGBVISoftcore.cpp
+2
-2
No files found.
plugins/freeEnergy/platforms/reference/src/gbsa/CpuGBVISoftcore.cpp
View file @
ca21532c
...
...
@@ -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.4184
f
;
/**---------------------------------------------------------------------------------------
...
...
@@ -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
++
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment