Commit 870fff2a authored by Peter Eastman's avatar Peter Eastman
Browse files

Bug fix

parent dd1a959b
...@@ -111,7 +111,7 @@ void CudaPlatform::contextDestroyed(ContextImpl& context) const { ...@@ -111,7 +111,7 @@ void CudaPlatform::contextDestroyed(ContextImpl& context) const {
CudaPlatform::PlatformData::PlatformData(_gpuContext* gpu) : gpu(gpu), removeCM(false), nonbondedMethod(0), customNonbondedMethod(0), hasBonds(false), hasAngles(false), CudaPlatform::PlatformData::PlatformData(_gpuContext* gpu) : gpu(gpu), removeCM(false), nonbondedMethod(0), customNonbondedMethod(0), hasBonds(false), hasAngles(false),
hasPeriodicTorsions(false), hasRB(false), hasNonbonded(false), hasCustomNonbonded(false), stepCount(0), computeForceCount(0), time(0.0), hasPeriodicTorsions(false), hasRB(false), hasNonbonded(false), hasCustomNonbonded(false), stepCount(0), computeForceCount(0), time(0.0),
ewaldSelfEnergy(0.0) { ewaldSelfEnergy(0.0), dispersionCoefficient(0.0) {
stringstream device; stringstream device;
device << gpu->device; device << gpu->device;
propertyValues[CudaPlatform::CudaDevice()] = device.str(); propertyValues[CudaPlatform::CudaDevice()] = device.str();
......
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