Skip to content
Snippets Groups Projects
Commit 30df3e77 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

upd throw msgs

parent f759253e
No related branches found
No related tags found
1 merge request!2700Visualize rough interfaces in Img3D
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment