Skip to content

Commit

Permalink
* minor indent fix in SGMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed May 17, 2012
1 parent f1d5d22 commit 2e96c0f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/shogun/lib/SGMatrix.h
Expand Up @@ -60,14 +60,14 @@ template<class T> class SGMatrix : public SGReferencedData
return &matrix[col*num_rows];
}

/** operator overload for matrix read only access
* @param i_row
* @param i_col
*/
inline const T& operator()(index_t i_row, index_t i_col) const
{
return matrix[i_col*num_rows + i_row];
}
/** operator overload for matrix read only access
* @param i_row
* @param i_col
*/
inline const T& operator()(index_t i_row, index_t i_col) const
{
return matrix[i_col*num_rows + i_row];
}

/** operator overload for matrix read only access
* @param index to access
Expand All @@ -77,14 +77,14 @@ template<class T> class SGMatrix : public SGReferencedData
return matrix[index];
}

/** operator overload for matrix r/w access
* @param i_row
* @param i_col
*/
inline T& operator()(index_t i_row, index_t i_col)
{
return matrix[i_col*num_rows + i_row];
}
/** operator overload for matrix r/w access
* @param i_row
* @param i_col
*/
inline T& operator()(index_t i_row, index_t i_col)
{
return matrix[i_col*num_rows + i_row];
}

/** operator overload for matrix r/w access
* @param index to access
Expand Down

0 comments on commit 2e96c0f

Please sign in to comment.