Ticket #3056 (closed: fixed)
Check TofEvent() constructor usage in tests.
Reported by: | Stuart Campbell | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 29 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description
I noticed some warnings related to calls (mainly in tests) to create an event such as
TofEvent(1.5, 2.3)
The constructor looks like it takes a (double, int64_t). I was wondering why 2.3 is used for an integer value.
I haved fixed the warning for the moment with a cast, but I am probably missing something so I'm creating the ticket for you, so you can have a look.
Change History
Note: See
TracTickets for help on using
tickets.
(In [11901]) refs #2897 & #3056