Skip to content
Snippets Groups Projects
Commit 6c979174 authored by Jesper Andersson's avatar Jesper Andersson
Browse files

fixed bug that prevented it from compiling

parent d3c19984
No related branches found
No related tags found
No related merge requests found
......@@ -1009,12 +1009,14 @@ const SpMat<T> operator&(const SpMat<T>& th, const NEWMAT::GeneralMatrix& bh)
//
/////////////////////////////////////////////////////////////////////
template<class T>
const std::vector<unsigned int>& SpMat<T>::get_ri(unsigned int i) const
{
if (i >= _n) throw SpMatException("SpMat::get_ri: Index out of range");
return(_ri[i]);
}
template<class T>
const std::vector<T>& SpMat<T>::get_val(unsigned int i) const
{
if (i >= _n) throw SpMatException("SpMat::get_val: Index out of range");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment