Commit cdec19f9 authored by Peter Eastman's avatar Peter Eastman
Browse files

Bug fix: fields were not being initialized

parent 8d0d1d13
...@@ -732,7 +732,8 @@ private: ...@@ -732,7 +732,8 @@ private:
*/ */
class OpenCLIntegrateBrownianStepKernel : public IntegrateBrownianStepKernel { class OpenCLIntegrateBrownianStepKernel : public IntegrateBrownianStepKernel {
public: public:
OpenCLIntegrateBrownianStepKernel(std::string name, const Platform& platform, OpenCLContext& cl) : IntegrateBrownianStepKernel(name, platform), cl(cl) { OpenCLIntegrateBrownianStepKernel(std::string name, const Platform& platform, OpenCLContext& cl) : IntegrateBrownianStepKernel(name, platform), cl(cl),
hasInitializedKernels(false), prevTemp(-1), prevFriction(-1), prevStepSize(-1) {
} }
~OpenCLIntegrateBrownianStepKernel(); ~OpenCLIntegrateBrownianStepKernel();
/** /**
......
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