Skip to content

Commit

Permalink
move throw_if_multiple_soma_z into namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
asanin-epfl committed May 6, 2021
1 parent f941477 commit 2eab8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readers/morphologyASC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ bool skip_sexp(size_t id) {
id == +Token::HIGH || id == +Token::INCOMPLETE || id == +Token::LOW ||
id == +Token::NORMAL || id == +Token::FONT || id == +Token::MARKER);
}
} // namespace

void throw_if_multiple_soma_z(std::vector<Point>& points, long unsigned int line) {
for (size_t i = 0; i < points.size() - 1; ++i) {
Expand All @@ -59,6 +58,7 @@ void throw_if_multiple_soma_z(std::vector<Point>& points, long unsigned int line
", " + dumpPoint(points[i + 1]));
}
}
} // namespace

class NeurolucidaParser
{
Expand Down

0 comments on commit 2eab8f1

Please sign in to comment.