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

Minor change to silence NVIDIA compiler warning

parent 9e5c2559
No related branches found
No related tags found
No related merge requests found
......@@ -1261,7 +1261,7 @@ template<class T>
const Accumulator<T>& Accumulator<T>::ExtractCol(const SpMat<T>& M, unsigned int c)
{
if (_sz != M._m) throw ;
if (c<0 || c>(M._n-1)) throw ;
if (c>(M._n-1)) throw ;
if (_no) Reset();
const std::vector<unsigned int>& ri = M._ri[c];
const std::vector<T>& val = M._val[c];
......
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