Ticket #908 (closed: fixed)
CrossCorrelate crash on Windows
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Iteration 19 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
After doing following steps:
- Load data set
GEM47445
- ConvertUnits
Target: dSpacing Emode: elastic
- Rebin (linear binning)
1.55, 0.002, 1.70
- CrossCorrelate
ReferenceSpectrum: 4000 Indxmin: 751 Indxmax: 7288
Xmin: 1.55 Xmax: 1.70
Change History
Note: See
TracTickets for help on using
tickets.
(In [3195]) Fix CrossCorrelate crash on Windows if Xmax goes up to end of reference spectrum. You have to be careful with iterator arithmetic on Windows, it sometimes does things you wouldn't expect with intermediate values. Fixes #908.