Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeplf committed May 14, 2024
1 parent e84d8b5 commit 9b94928
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/readers/morphologySWC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ struct SWCSample {

SWCSample() = default; // XXX
floatType diameter = -1.;
bool valid = false;
Point point{};
SectionType type = SECTION_UNDEFINED;
unsigned int parentId = UNKNOWN_ID;
Expand Down Expand Up @@ -375,7 +374,7 @@ class SWCBuilder
}

if (!samples_.insert({sample.id, sample}).second) {
const auto& original = samples[sample.id];
const auto& original = samples_[sample.id];
details::ErrorMessages err_(path_);
throw RawDataError(err_.ERROR_REPEATED_ID(original.id, original.lineNumber, sample.id));
}
Expand Down

0 comments on commit 9b94928

Please sign in to comment.