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 5, 2011
1 parent 2a5ea54 commit 1a8ff6b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ struct coord_transformer<NoQ,MODE,CONV>
}

inline bool calculate_ND_coordinates(const MantidVec& X,size_t i,size_t j,std::vector<coord_t> &Coord){
Coord[0] = 0.5*( X[j]+ X[j+1]);
UNUSED_ARG(i);
Coord[0] = 0.5*( X[j]+ X[j+1]);
if(Coord[0]<pHost->dim_min[0]||Coord[0]>=pHost->dim_max[0])return false;
return true;
}
Expand Down Expand Up @@ -221,12 +222,13 @@ struct coord_transformer<modQ,MODE,CONV>
return false;
}

coord_transformer(ConvertToMDEvents *pConv) {}
coord_transformer(ConvertToMDEvents *) {}
};
//------------------------------------------------------------------------------------------------------------------------------
// Q3D any mode
template<AnalMode MODE>
inline double k_trans(double Ei, double E_tr){
UNUSED_ARG(Ei);UNUSED_ARG(E_tr);
throw(Kernel::Exception::NotImplementedError("Generic K_tr not implemented"));
}
template<>
Expand Down

0 comments on commit 1a8ff6b

Please sign in to comment.