From ec26385e380cfa236aa0909c06e9f9c11f950cea Mon Sep 17 00:00:00 2001 From: Jette Reeg Date: Thu, 4 Jul 2024 11:33:55 +0200 Subject: [PATCH] related to recommited bugfix #13 I forgot one function --- Landscape.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Landscape.cpp b/Landscape.cpp index a35a8da..37be9a3 100644 --- a/Landscape.cpp +++ b/Landscape.cpp @@ -2391,7 +2391,9 @@ rasterdata CheckRasterFile(string fname) infile >> header >> r.yllcorner; if (header != "yllcorner" && header != "YLLCORNER") r.errors++; - infile >> header >> r.cellsize; + double tmpcellsize; + infile >> header >> tmpcellsize; + r.cellsize = (int) tmpcellsize; if (header != "cellsize" && header != "CELLSIZE") r.errors++; infile >> header >> inint;