Skip to content

Commit

Permalink
Re #11825 Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelalvarezbanos committed May 27, 2015
1 parent f9b76d9 commit 8e43c2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 8e43c2b

Please sign in to comment.