From 423f1941d90da59490f219abed13f2fa22abb329 Mon Sep 17 00:00:00 2001 From: GuySten Date: Mon, 10 Aug 2026 16:50:45 +0300 Subject: [PATCH] remove number assignment to cross sections --- include/openmc/cross_sections.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/openmc/cross_sections.h b/include/openmc/cross_sections.h index 06140a6a8cf..091ac5a2779 100644 --- a/include/openmc/cross_sections.h +++ b/include/openmc/cross_sections.h @@ -17,13 +17,7 @@ namespace openmc { class Library { public: // Types, enums - enum class Type { - neutron = 1, - photon = 3, - thermal = 2, - multigroup = 4, - wmp = 5 - }; + enum class Type { neutron, photon, thermal, multigroup, wmp }; // Constructors Library() {};