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
d54938ac
"platforms/vscode:/vscode.git/clone" did not exist on "160a491ec2701ef149e5b15083e5f9b1a5714002"
Commit
d54938ac
authored
Jul 20, 2020
by
Peter Eastman
Browse files
Workaround for gcc bug
parent
c2a049b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
plugins/amoeba/openmmapi/src/AmoebaVdwForceImpl.cpp
plugins/amoeba/openmmapi/src/AmoebaVdwForceImpl.cpp
+4
-2
No files found.
plugins/amoeba/openmmapi/src/AmoebaVdwForceImpl.cpp
View file @
d54938ac
...
@@ -104,8 +104,10 @@ void AmoebaVdwForceImpl::createParameterMatrix(const AmoebaVdwForce& force, vect
...
@@ -104,8 +104,10 @@ void AmoebaVdwForceImpl::createParameterMatrix(const AmoebaVdwForce& force, vect
force
.
getParticleParameters
(
i
,
parent
,
sigma
,
epsilon
,
reduction
,
isAlchemical
,
typeIndex
);
force
.
getParticleParameters
(
i
,
parent
,
sigma
,
epsilon
,
reduction
,
isAlchemical
,
typeIndex
);
pair
<
double
,
double
>
params
=
make_pair
(
sigma
,
epsilon
);
pair
<
double
,
double
>
params
=
make_pair
(
sigma
,
epsilon
);
map
<
pair
<
double
,
double
>
,
int
>::
iterator
entry
=
typeForParams
.
find
(
params
);
map
<
pair
<
double
,
double
>
,
int
>::
iterator
entry
=
typeForParams
.
find
(
params
);
if
(
entry
==
typeForParams
.
end
())
if
(
entry
==
typeForParams
.
end
())
{
typeForParams
[
params
]
=
typeForParams
.
size
();
int
index
=
typeForParams
.
size
();
typeForParams
[
params
]
=
index
;
}
type
[
i
]
=
typeForParams
[
params
];
type
[
i
]
=
typeForParams
[
params
];
}
}
numTypes
=
typeForParams
.
size
();
numTypes
=
typeForParams
.
size
();
...
...
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