Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindPeaks crash in Debug #11066

Closed
KarlPalmen opened this issue Sep 9, 2014 · 1 comment
Closed

FindPeaks crash in Debug #11066

KarlPalmen opened this issue Sep 9, 2014 · 1 comment
Assignees
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@KarlPalmen
Copy link
Contributor

This ticket is blocks : TRAC10052

If you run the following script

ws = CreateSampleWorkspace(Function="User Defined", UserDefinedFunction="name=LinearBackground, \
   A0=0.3;name=Gaussian, PeakCentre=5, Height=10, Sigma=0.7", NumBanks=1, BankPixelWidth=1, XMin=0, XMax=10, BinWidth=0.1)

table = FindPeaks(InputWorkspace='ws', FWHM='20')

in the Debug build, Mantid crashes, but it works OK in Release build.
The crash occurs in a loop of FindPeaks::estimatePeakParameters created in the course of ticket http://trac.mantidproject.org/mantid/ticket/7789, where a call to VECY[100] is made despite it having only 100 elements [0:99].

@KarlPalmen
Copy link
Contributor Author

This issue was originally trac ticket 10224

@KarlPalmen KarlPalmen added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@KarlPalmen KarlPalmen added this to the Release 3.3 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

2 participants