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 Nov 29, 2011
1 parent e0d03d7 commit 0d45d53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ConvertToQNDany::processQND(API::IMDEventWorkspace *const piWS)
Coord[i]=run_property->firstValue();
}
// get the Y axis;
NumericAxis *pYAxis = dynamic_cast<NumericAxis *>(inWS2D->getAxis(1));
API::NumericAxis *pYAxis = dynamic_cast<NumericAxis *>(inWS2D->getAxis(1));
if(!pYAxis ){ // the cast should be verified earlier; just in case here:
throw(std::invalid_argument("Input workspace has to have Y-axis"));
}
Expand Down

0 comments on commit 0d45d53

Please sign in to comment.