Commit 4c815965 authored by peastman's avatar peastman
Browse files

Added a missing return statement

parent 604881dc
......@@ -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