Skip to content
Snippets Groups Projects
Commit c5b5b032 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[A/IO/CsvInterface] Reduce scope of var.

parent 90ed4ab9
No related branches found
No related tags found
No related merge requests found
...@@ -93,9 +93,9 @@ int CsvInterface::readPoints(std::string const& fname, char delim, ...@@ -93,9 +93,9 @@ int CsvInterface::readPoints(std::string const& fname, char delim,
continue; continue;
} }
it = fields.begin(); it = fields.begin();
std::array<double, 3> point{};
try try
{ {
std::array<double, 3> point{};
point[0] = std::stod(*it); point[0] = std::stod(*it);
point[1] = std::stod(*(++it)); point[1] = std::stod(*(++it));
point[2] = std::stod(*(++it)); point[2] = std::stod(*(++it));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment