Skip to content

Commit

Permalink
refs #4201 Fixing Unix error
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jan 9, 2012
1 parent e1934d5 commit ad8c79b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ class ConvertToMDEvensEventWS: public IConvertToMDEventsMethods

switch (this->pEventWS->getEventList(workspaceIndex).getEventType())
{
case TOF:
case Mantid::API::TOF:
return this->convertEventList<TofEvent>(workspaceIndex);
case WEIGHTED:
case Mantid::API::WEIGHTED:
return this->convertEventList<WeightedEvent>(workspaceIndex);
case WEIGHTED_NOTIME:
case Mantid::API::WEIGHTED_NOTIME:
return this->convertEventList<WeightedEventNoTime>(workspaceIndex);
default:
throw std::runtime_error("EventList had an unexpected data type!");
Expand Down

0 comments on commit ad8c79b

Please sign in to comment.