mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
compatible with gcc 5.3.1 amd 6.1.1
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <cmath>
|
||||
#include "SlsQt2DHist.h"
|
||||
|
||||
using std::cout;
|
||||
@ -125,7 +125,7 @@ double SlsQt2DHist::GetMean(){
|
||||
}
|
||||
|
||||
double SlsQt2DHist::SetMinimumToFirstGreaterThanZero(){
|
||||
z_min=abs(z_max)+1;
|
||||
z_min=fabs(z_max)+1;
|
||||
for(int i=0;i<nb;i++){
|
||||
if(data[i]>0 && data[i]<z_min) z_min=data[i];
|
||||
}
|
||||
|
Reference in New Issue
Block a user