Skip to content

Commit 5e1d2d6

Browse files
author
Arthur Glowacki
committed
Added saving element width multiplier
1 parent 27c180f commit 5e1d2d6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/io/file/aps/aps_fit_params_import.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,10 @@ DLL_EXPORT bool save_parameters_override(std::string path, Params_Override<T_rea
10841084
*/
10851085
for (const auto& itr : params_override->elements_to_fit)
10861086
{
1087+
if(itr.second->width_multi() != (T_real)1.0)
1088+
{
1089+
out_stream << "WIDTH_MULTIPLIER: " << itr.first<< ","<< itr.second->width_multi();
1090+
}
10871091
for (T_real ratio : itr.second->energy_ratio_multipliers())
10881092
{
10891093
if (ratio != 1.0)

0 commit comments

Comments
 (0)