Unverified Commit 729c0990 authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Fixed uninitialized memory error (#4043)

parent eda091f2
...@@ -1308,7 +1308,7 @@ class CommonIntegrateCustomStepKernel : public IntegrateCustomStepKernel { ...@@ -1308,7 +1308,7 @@ class CommonIntegrateCustomStepKernel : public IntegrateCustomStepKernel {
public: public:
enum GlobalTargetType {DT, VARIABLE, PARAMETER}; enum GlobalTargetType {DT, VARIABLE, PARAMETER};
CommonIntegrateCustomStepKernel(std::string name, const Platform& platform, ComputeContext& cc) : IntegrateCustomStepKernel(name, platform), cc(cc), CommonIntegrateCustomStepKernel(std::string name, const Platform& platform, ComputeContext& cc) : IntegrateCustomStepKernel(name, platform), cc(cc),
hasInitializedKernels(false), needsEnergyParamDerivs(false) { hasInitializedKernels(false), deviceGlobalsAreCurrent(false), needsEnergyParamDerivs(false) {
} }
/** /**
* Initialize the kernel. * Initialize the kernel.
......
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