From a8e451c2c2a35fd2427eafc0131d132622330679 Mon Sep 17 00:00:00 2001 From: Ralf Gerlich Date: Fri, 4 Jan 2008 11:38:31 +0100 Subject: [PATCH] Typo fix in terrafit, which led to bad artefacts in the fitted elevation data. --- src/Prep/TerraFit/terrafit.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); }