Commit 08ba433a authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

Bugfix datatypes in data_ob_vector

parent ecba0ae8
......@@ -103,8 +103,8 @@ int data_obs_vector::set_data(double X, double Y, double Z, double T1,
data[datatype.at("X")] = X;
data[datatype.at("Y")] = Y;
data[datatype.at("Z")] = Z;
supp[datatype.at("T1")] = T1;
supp[datatype.at("T1")] = T2;
supp[supptype.at("T1")] = T1;
supp[supptype.at("T1")] = T2;
return(0);
......@@ -121,8 +121,8 @@ int data_obs_vector::get_data(double* X, double* Y, double* Z, double* T1,
*X = data[datatype.at("X")];
*Y = data[datatype.at("X")];
*Z = data[datatype.at("Z")];
*T1 = supp[datatype.at("T1")];
*T2 = supp[datatype.at("T2")];
*T1 = supp[supptype.at("T1")];
*T2 = supp[supptype.at("T2")];
return(0);
......
Supports Markdown
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