"wrappers/python/vscode:/vscode.git/clone" did not exist on "1589d42511a82fa759bf30c6e1e75c49e0065e71"
Commit 8616b69c authored by peastman's avatar peastman
Browse files

Merge pull request #605 from peastman/master

Added a missing return statement
parents 604881dc 4c815965
......@@ -143,6 +143,7 @@ void DrudeForceImpl::initialize(ContextImpl& context) {
double DrudeForceImpl::calcForcesAndEnergy(ContextImpl& context, bool includeForces, bool includeEnergy, int groups) {
if ((groups&(1<<owner.getForceGroup())) != 0)
return kernel.getAs<CalcDrudeForceKernel>().execute(context, includeForces, includeEnergy);
return 0.0;
}
std::vector<std::string> DrudeForceImpl::getKernelNames() {
......
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