From 30df3e778a79ebd01523fd83032e8c266a327747 Mon Sep 17 00:00:00 2001 From: Mikhail Svechnikov <svechnikovmv@gmail.com> Date: Tue, 30 Jul 2024 18:00:24 +0200 Subject: [PATCH] upd throw msgs --- Sample/Interface/RoughnessMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sample/Interface/RoughnessMap.cpp b/Sample/Interface/RoughnessMap.cpp index abea3690f31..fb43819d4a6 100644 --- a/Sample/Interface/RoughnessMap.cpp +++ b/Sample/Interface/RoughnessMap.cpp @@ -58,9 +58,9 @@ RoughnessMap::RoughnessMap(size_t x_points, size_t y_points, double Lx, double L if (y_points == 0) throw std::runtime_error("Number of points along Y must be >=1"); if (Lx <= 0) - throw std::runtime_error("X length must be > 0"); + throw std::runtime_error("Sample X length must be > 0"); if (Ly <= 0) - throw std::runtime_error("Y length must be > 0"); + throw std::runtime_error("Sample Y length must be > 0"); } RoughnessMap::double2d_t RoughnessMap::generateMap() -- GitLab