Sampler fails due to static variable in SDDSWriters
Summary
Sampler crashed due to SDDSWriters.
Steps to reproduce
Run the sampler.
What is the current bug behavior?
The static variable isFirst
of the new SDDSWriter interface (e.g.
GridLBalWriter) causes the sampler to crash with
Error{0}>
Error{0}> *** User error detected by function "SDDSColumnSet::addColumnValue"
Error{0}> column name 't' doesn't exists
Error{0}> column name 't' doesn't exists
What is the expected correct behavior?
The sampler runs smoothly.
Possible fixes
Making the variable a non-static isFirst
a member of SDDSWriter.h
fixes the problem.