Commit c61dc25e authored by Henderson, Shane's avatar Henderson, Shane
Browse files

Merge branch 'MSTDBTPv2_update' into 'master'

Update data handling to allow a new designation

See merge request neams/saline!16
parents c3a43d6b 353fd639
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -700,6 +700,10 @@ Default_Data_Store::Data& Default_Data_Store::getDataReference(std::string names
void Default_Data_Store::parse_data_token(std::string &token,double &val)
{
  if (all_of(token.begin(),token.end(),[] (char c){ return c == '-';}))
  {
    val = 0.0;
  }
  else if(token == "synthetic")
  {
    val = 0.0;
  }else{