Closed zdemat closed 2 years ago
Thanks a lot. That's an embarassing bug. Thankfully it would only have affected cases where there are multiple crystalline phases...
Thanks to @milandopita for reporting this. He hit an issue with that on a 2 crystalline component case.
Hello, is it possible that there is still an issue with the scale factor? I would like to do a LeBail fit on a pattern with two crystal phases but FOX throws the current error: Warning:FitScaleFactorForIntegratedRw: working around NaN scale factor... Warning:FitScaleFactorForRw working around NaN scale factor...
Thank you very much in advance for clarifying!
@Charlaiz You'll need to be more specific (example to reproduce). Occasionally the scale factor can diverge, but that's normally only when initialising when there are no atoms in a crystal structure (and so no intensity).
Also, please open a separate issue - this is not related to this PR.
Fix for a double loop in PowderPattern::PrepareIntegratedRfactor.