From 43ff0a28218138dce71a5c5eb307bdbc84658df2 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 21 Sep 2022 11:54:25 -0500 Subject: [PATCH] Update error message for 'muir' distributions in C++ --- src/distribution.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/distribution.cpp b/src/distribution.cpp index 97dce37c6..6bf51df6a 100644 --- a/src/distribution.cpp +++ b/src/distribution.cpp @@ -370,8 +370,8 @@ UPtrDist distribution_from_xml(pugi::xml_node node) dist = UPtrDist {new Mixture(node)}; } else if (type == "muir") { openmc::fatal_error( - "'muir' distribution type is no longer supported. Please regenerate your " - "XML files using the Python API."); + "'muir' distributions are now specified using the openmc.stats.muir() " + "function in Python. Please regenerate your XML files."); } else { openmc::fatal_error("Invalid distribution type: " + type); }