Commit 8e43c2b5 authored by Raquel Alvarez Banos's avatar Raquel Alvarez Banos
Browse files

Re #11825 Fix compiler warnings

parent f9b76d99
......@@ -203,7 +203,7 @@ static string generateMappingfileName(EventWorkspace_sptr &wksp) {
*/
FilterEventsByLogValuePreNexus::FilterEventsByLogValuePreNexus()
: Mantid::API::IFileLoader<Kernel::FileDescriptor>(), proton_charge_tot(0),
eventfile(NULL), detid_max(0), num_events(0), num_pulses(0), numpixel(0),
detid_max(0), eventfile(NULL), num_events(0), num_pulses(0), numpixel(0),
num_good_events(0), num_error_events(0), num_bad_events(0),
num_wrongdetid_events(0), num_ignored_events(0), first_event(0),
m_maxNumEvents(0), using_mapping_file(false), loadOnlySomeSpectra(false),
......@@ -756,7 +756,7 @@ void FilterEventsByLogValuePreNexus::doStatToEventLog(size_t mindex) {
<< "\n";
} else {
g_log.information() << "Event log of map index " << mindex
<< ": Avg(dt) = " << sum_dt * 1.0E-9
<< ": Avg(dt) = " << static_cast<double>(sum_dt) * 1.0E-9
<< ", Min(dt) = " << static_cast<double>(min_dt) * 1.0E-9
<< ", Max(dt) = " << static_cast<double>(max_dt) * 1.0E-9
<< "\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment