From cefa6e60d1cc30c2bc305ac6d7294c763c9dd6b2 Mon Sep 17 00:00:00 2001 From: Mikhail Polkovnikov Date: Thu, 19 Nov 2020 20:52:16 +0300 Subject: [PATCH] BUG: Minor fixes in isodose logic and node dose unit enumerator type --- Isodose/Logic/vtkSlicerIsodoseModuleLogic.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Isodose/Logic/vtkSlicerIsodoseModuleLogic.cxx b/Isodose/Logic/vtkSlicerIsodoseModuleLogic.cxx index 9dfd3a726..6852fe047 100644 --- a/Isodose/Logic/vtkSlicerIsodoseModuleLogic.cxx +++ b/Isodose/Logic/vtkSlicerIsodoseModuleLogic.cxx @@ -679,7 +679,7 @@ void vtkSlicerIsodoseModuleLogic::CreateIsodoseSurfaces(vtkMRMLIsodoseNode* para { relativeFlag = true; } - std::string isodoseName = (relativeFlag) ? + std::string isodoseName = relativeFlag ? vtkSlicerIsodoseModuleLogic::ISODOSE_RELATIVE_ROOT_HIERARCHY_NAME_POSTFIX : vtkSlicerIsodoseModuleLogic::ISODOSE_ROOT_HIERARCHY_NAME_POSTFIX;