Output "--" if that was specified in the header file.

Unit tests failed sometimes.  Found that an attributes structure for time
in the data recording class was unintialized.  This led to the mods
field to have random data, and sometimes triggering sys.exec.out.time
to be assigned no units.  Fixed it by zeroing out the structure.

refs #254
This commit is contained in:
Alex Lin 2016-06-21 17:02:32 -05:00
parent fcb63e0e06
commit bfdc491fe3

View File

@ -60,6 +60,7 @@ Trick::DataRecordGroup::DataRecordGroup( std::string in_name ) :
freq(DR_Always),
start(0.0) ,
cycle(0.1) ,
time_value_attr() ,
num_variable_names(0),
variable_names(NULL),
variable_alias(NULL),