diff --git a/src/Prep/TerraFit/terrafit.cc b/src/Prep/TerraFit/terrafit.cc index fbbb26c6..6afcf735 100644 --- a/src/Prep/TerraFit/terrafit.cc +++ b/src/Prep/TerraFit/terrafit.cc @@ -58,7 +58,8 @@ public: ArrayMap(TGArray& array): array(array) { width=array.get_cols(); height=array.get_rows(); - min=max=eval(0,0); + min=30000; + max=-30000; for (int i=0;ieval(x,y); gzprintf(fp,"%+03.8f %+02.8f %0.2f\n",vx,vy,vz); }