SpecularReflectionPositionCorrect2 crashes with invalid detector name #18905
Labels
Bug
Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
Framework
Issues and pull requests related to components in the Framework
Reflectometry
Issues and pull requests related to reflectometry
Milestone
Expected behavior
If an invalid
DetectorComponentName
is provided toSpecularReflectionPositionCorrect2
it should throw an error.Actual behavior
Segmentation fault.
Steps to reproduce the behavior
The following script demonstrates the problem:
Platforms affected
Probably all (confirmed on Windows & Ubuntu)
The text was updated successfully, but these errors were encountered: