From a1adcde084f90baef1e83b3c8a9cc42c51271c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=B6rner?= Date: Tue, 11 Jun 2024 16:55:10 +0200 Subject: [PATCH] update error messages. --- src/GridTools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GridTools.cpp b/src/GridTools.cpp index a930a7f6f..41e46ca51 100644 --- a/src/GridTools.cpp +++ b/src/GridTools.cpp @@ -282,7 +282,7 @@ ref_ptr loadGrid3fFromTxt(std::string filename, double c) { std::string name, type; ss >> name >> name >> name >> type; if (type != "Grid3f") - throw std::runtime_error("try to load Grid3f, but Gridproperties assume grid type " + type); + throw std::runtime_error("Tried to load Grid3f, but Gridproperties assume grid type " + type); // grid origin double x, y, z; @@ -376,7 +376,7 @@ ref_ptr loadGrid1fFromTxt(std::string filename, double c) { std::string name, type; ss >> name >> name >> name >> type; if (type != "Grid1f") - throw std::runtime_error("try to load Grid1f, but Gridproperties assume grid type " + type); + throw std::runtime_error("Tried to load Grid1f, but Gridproperties assume grid type " + type); // grid origin double x, y, z;