Commit 98db5844 authored by Lozac'h Loic's avatar Lozac'h Loic

DEBUG: cast

parent 54016089
......@@ -91,8 +91,8 @@ private:
std::vector<std::string> vec;
boost::algorithm::split(vec, line, boost::is_any_of(";"));
label = (uint32) vec[0];
moist = (float) vec[5];
label = std::stoi(vec[0]);
moist = std::stof(vec[5]);
dataList.insert({label,moist});
}
// Close the File
......
Markdown is supported
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