Ticket #5416 (closed: fixed)
in FFT compare input workspace index to number of histograms
Reported by: | Jose Borreguero | Owned by: | Jose Borreguero |
---|---|---|---|
Priority: | trivial | Milestone: | Release 2.2 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description
A minor correction in FFT. Change line:
if( iReal >= ysize ) throw std::invalid_argument("Property Real is out of range");
to
if( iReal >= static_cast<int>(inWS->getNumberHistograms()) )throw std::invalid_argument("Property Real is out of range");
Change History
comment:2 Changed 8 years ago by Jose Borreguero
Refs #5416 compare iReal to getNumberHistograms
modified: FFT.cpp
Changeset: 6b03919f0033f9780f9d39742a4c782ffae20496
comment:3 Changed 8 years ago by Jose Borreguero
Refs #5416 compare iReal to getNumberHistograms
modified: FFT.cpp
Changeset: 6b03919f0033f9780f9d39742a4c782ffae20496
comment:4 Changed 8 years ago by Jose Borreguero
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 8 years ago by Jose Borreguero
Refs #5416 compare iReal to getNumberHistograms
modified: FFT.cpp
Changeset: 6b03919f0033f9780f9d39742a4c782ffae20496
comment:6 Changed 8 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester set to Martyn Gigg
Note: See
TracTickets for help on using
tickets.