From 7ff18efb121cdcc097e8d2c0f74cedce9d64c3fd Mon Sep 17 00:00:00 2001 From: "Dmitry Yu. Naumov" <github@naumov.de> Date: Tue, 21 Aug 2018 16:42:17 +0200 Subject: [PATCH] [MeL] Change checkNonlinearNodeId msg to warning. Since (most) parts of the Mesh are not dependent on this property, this is merely a warning. --- MeshLib/Mesh.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MeshLib/Mesh.cpp b/MeshLib/Mesh.cpp index f56584b7587..d3958e8f91f 100644 --- a/MeshLib/Mesh.cpp +++ b/MeshLib/Mesh.cpp @@ -306,9 +306,10 @@ void Mesh::checkNonlinearNodeIDs() const if (e->getNodeIndex(i) >= getNumberOfBaseNodes()) continue; - ERR("Found a nonlinear node whose ID (%d) is smaller than the " - "number of base node IDs (%d)." - "Some functions may not work properly.", + WARN( + "Found a nonlinear node whose ID (%d) is smaller than the " + "number of base node IDs (%d). Some functions may not work " + "properly.", e->getNodeIndex(i), getNumberOfBaseNodes()); return; } -- GitLab