diff options
Diffstat (limited to 'src/dgxmlparser.cc')
-rw-r--r-- | src/dgxmlparser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dgxmlparser.cc b/src/dgxmlparser.cc index bd9af66..837cc4e 100644 --- a/src/dgxmlparser.cc +++ b/src/dgxmlparser.cc @@ -365,8 +365,8 @@ bool parseInstrumentFile(const std::string& filename, InstrumentDOM& dom, LogFun res &= attrcpy(dom.samples.back().position, sample, "position", logger, filename, true); // Clamp to [0; 1] range. - dom.samples.back().position = - std::min(1.0, std::max(dom.samples.back().position, 0.0)); + //dom.samples.back().position = + // std::min(1.0, std::max(dom.samples.back().position, 0.0)); dom.samples.back().normalized = false; // optional - defaults to false res &= attrcpy(dom.samples.back().normalized, sample, "normalized", |