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
f21e5169
Commit
f21e5169
authored
Oct 01, 2010
by
Peter Eastman
Browse files
Fixed compilation errors on Windows
parent
027fe028
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
serialization/tests/TestSerializeCustomGBForce.cpp
serialization/tests/TestSerializeCustomGBForce.cpp
+1
-1
serialization/tests/TestSerializeCustomHbondForce.cpp
serialization/tests/TestSerializeCustomHbondForce.cpp
+1
-1
serialization/tests/TestSerializeCustomNonbondedForce.cpp
serialization/tests/TestSerializeCustomNonbondedForce.cpp
+1
-1
No files found.
serialization/tests/TestSerializeCustomGBForce.cpp
View file @
f21e5169
...
...
@@ -62,7 +62,7 @@ void testSerialization() {
force
.
addExclusion
(
1
,
2
);
vector
<
double
>
values
(
10
);
for
(
int
i
=
0
;
i
<
10
;
i
++
)
values
[
i
]
=
sin
(
i
);
values
[
i
]
=
sin
(
(
double
)
i
);
force
.
addFunction
(
"f"
,
values
,
0.5
,
1.5
,
true
);
// Serialize and then deserialize it.
...
...
serialization/tests/TestSerializeCustomHbondForce.cpp
View file @
f21e5169
...
...
@@ -65,7 +65,7 @@ void testSerialization() {
force
.
addExclusion
(
1
,
2
);
vector
<
double
>
values
(
10
);
for
(
int
i
=
0
;
i
<
10
;
i
++
)
values
[
i
]
=
sin
(
i
);
values
[
i
]
=
sin
(
(
double
)
i
);
force
.
addFunction
(
"f"
,
values
,
0.5
,
1.5
,
true
);
// Serialize and then deserialize it.
...
...
serialization/tests/TestSerializeCustomNonbondedForce.cpp
View file @
f21e5169
...
...
@@ -58,7 +58,7 @@ void testSerialization() {
force
.
addExclusion
(
1
,
2
);
vector
<
double
>
values
(
10
);
for
(
int
i
=
0
;
i
<
10
;
i
++
)
values
[
i
]
=
sin
(
i
);
values
[
i
]
=
sin
(
(
double
)
i
);
force
.
addFunction
(
"f"
,
values
,
0.5
,
1.5
,
true
);
// Serialize and then deserialize it.
...
...
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