summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-02-05 10:37:57 +0100
committertomsmeding <tom.smeding@gmail.com>2017-02-05 10:37:57 +0100
commit46b2b554669c597318a0a5ae41043e2e9c912e18 (patch)
treecbe723e1201c2dc5f91a8a2a2e69d6816409fbb5
parentd624d8483e15efa59c9165d6f883caf65175bd4e (diff)
Do not emit 'out of range' warning
-rw-r--r--histogram.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/histogram.cpp b/histogram.cpp
index ab6d651..a12cd75 100644
--- a/histogram.cpp
+++ b/histogram.cpp
@@ -95,7 +95,7 @@ int main(int argc,char **argv){
int binidx=0,tally=0,maxtally=-1;
for(double v : values){
if(v<low||v>high){
- cerr<<"Point "<<v<<" out of range!"<<endl;
+ // cerr<<"Point "<<v<<" out of range!"<<endl;
continue;
}
int bin=(v-low)/(high-low)*nbins;