Skip to content

Commit 77d70b8

Browse files
author
Arthur Glowacki
committed
Fixed bug where M lines were not being initialized properly
1 parent f54ae36 commit 77d70b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/data_struct/fit_element_map.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ Fit_Element_Map<T_real>::Fit_Element_Map(std::string name, Element_Info<T_real>*
8181
else
8282
{
8383
std::string str_shell = _full_name.substr(idx);
84-
if (str_shell == "L")
84+
if (str_shell == "M")
8585
{
86-
_shell_type = Electron_Shell::L_SHELL;
86+
_shell_type = Electron_Shell::M_SHELL;
8787
}
8888
else if (str_shell == "L")
8989
{

0 commit comments

Comments
 (0)