comparison data/model/RegionModel.h @ 1684:95396c9382e3 single-point

m_haveExtents should be true when extents are set explicitly, otherwise they'll get overridden when a point is added
author Chris Cannam
date Wed, 03 Apr 2019 16:04:03 +0100
parents 0d89abd631ac
children 73077ec5aed6
comparison
equal deleted inserted replaced
1683:e4f31f506116 1684:95396c9382e3
61 bool notifyOnAdd = true) : 61 bool notifyOnAdd = true) :
62 m_sampleRate(sampleRate), 62 m_sampleRate(sampleRate),
63 m_resolution(resolution), 63 m_resolution(resolution),
64 m_valueMinimum(valueMinimum), 64 m_valueMinimum(valueMinimum),
65 m_valueMaximum(valueMaximum), 65 m_valueMaximum(valueMaximum),
66 m_haveExtents(false), 66 m_haveExtents(true),
67 m_valueQuantization(0), 67 m_valueQuantization(0),
68 m_haveDistinctValues(false), 68 m_haveDistinctValues(false),
69 m_notifier(this, 69 m_notifier(this,
70 notifyOnAdd ? 70 notifyOnAdd ?
71 DeferredNotifier::NOTIFY_ALWAYS : 71 DeferredNotifier::NOTIFY_ALWAYS :