Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
cdec19f9
Commit
cdec19f9
authored
Mar 03, 2010
by
Peter Eastman
Browse files
Bug fix: fields were not being initialized
parent
8d0d1d13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
platforms/opencl/src/OpenCLKernels.h
platforms/opencl/src/OpenCLKernels.h
+2
-1
No files found.
platforms/opencl/src/OpenCLKernels.h
View file @
cdec19f9
...
...
@@ -732,7 +732,8 @@ private:
*/
class
OpenCLIntegrateBrownianStepKernel
:
public
IntegrateBrownianStepKernel
{
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
();
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment