Commit 4b542fbb authored by lynn garren's avatar lynn garren

remove inline - no reason to use it in a cc file

parent 8299b82e
2014-05-04 Lynn Garren <garren@fnal.gov>
* Matrix/src/Vector.cc: remove inline - no reason to use it in a cc file
2014-02-24 Lynn Garren <garren@fnal.gov>
* Vector, Random, Matrix: remove register declaration of ints and doubles
......
2014-05-04 Lynn Garren <garren@fnal.gov>
* src/Vector.cc: remove inline - no reason to use it in a cc file
2014-02-24 Lynn Garren <garren@fnal.gov>
* remove register declaration of doubles
......
......@@ -114,19 +114,19 @@ HepVector::HepVector(const HepMatrix &hm1)
// trivial methods
inline int HepVector::num_row() const {return nrow;}
inline int HepVector::num_size() const {return nrow;}
inline int HepVector::num_col() const { return 1; }
int HepVector::num_row() const {return nrow;}
int HepVector::num_size() const {return nrow;}
int HepVector::num_col() const { return 1; }
// operator()
#ifdef MATRIX_BOUND_CHECK
inline double & HepVector::operator()(int row, int col)
double & HepVector::operator()(int row, int col)
{
if( col!=1 || row<1 || row>nrow)
error("Range error in HepVector::operator(i,j)");
#else
inline double & HepVector::operator()(int row, int)
double & HepVector::operator()(int row, int)
{
#endif
......@@ -134,12 +134,12 @@ inline double & HepVector::operator()(int row, int)
}
#ifdef MATRIX_BOUND_CHECK
inline const double & HepVector::operator()(int row, int col) const
const double & HepVector::operator()(int row, int col) const
{
if( col!=1 || row<1 || row>nrow)
error("Range error in HepVector::operator(i,j)");
#else
inline const double & HepVector::operator()(int row, int) const
const double & HepVector::operator()(int row, int) const
{
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment