From c27f4942a5a38259a3e75054634867de28f6e47b Mon Sep 17 00:00:00 2001 From: Alex Buts <Alex.Buts@stfc.ac.uk> Date: Tue, 6 Dec 2011 20:01:47 +0000 Subject: [PATCH] refs #4201 fixing unix warnings --- Code/Mantid/Framework/MDAlgorithms/src/ConvertToMDEvents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMDEvents.cpp b/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMDEvents.cpp index 7a70091ba20..4126ade245d 100644 --- a/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMDEvents.cpp +++ b/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMDEvents.cpp @@ -168,7 +168,7 @@ ConvertToMDEvents::process_detectors_positions(const DataObjects::Workspace2D_co // IObjComponent_const_sptr source = instrument->getSource(); IObjComponent_const_sptr sample = instrument->getSample(); - if ((!source) || (!sample == NULL )) { + if ((!source) || (!sample)) { convert_log.error()<<" Instrument is not fully defined. Can not identify source or sample\n"; throw Exception::InstrumentDefinitionError("Instrubment not sufficiently defined: failed to get source and/or sample"); } -- GitLab