Skip to content

Commit

Permalink
refs #4201 fixing unix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Dec 6, 2011
1 parent f9daaea commit c27f494
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit c27f494

Please sign in to comment.