Skip to content

Commit

Permalink
fix return type of throw_if_multiple_soma_z
Browse files Browse the repository at this point in the history
  • Loading branch information
asanin-epfl committed May 7, 2021
1 parent f54bb67 commit c5a80f5
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 @@ -51,7 +51,7 @@ bool skip_sexp(size_t id) {
}
} // namespace

bool throw_if_multiple_soma_z(std::vector<Point>& points, long unsigned int line) {
void throw_if_multiple_soma_z(std::vector<Point>& points, long unsigned int line) {
for (size_t i = 0; i < points.size() - 1; ++i) {
if (points[i][2] != points[i + 1][2])
throw RawDataError("Stack of multiple soma on line " + std::to_string(line) +
Expand Down

0 comments on commit c5a80f5

Please sign in to comment.