Skip to content
Snippets Groups Projects
Commit df04dc93 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

multMatrixVector with const arguments

parent eb820a99
No related branches found
No related tags found
No related merge requests found
......@@ -440,7 +440,7 @@ namespace AMDiS {
}
/// Multplication of a matrix with a vector.
void multMatrixVec(WorldMatrix<T> &m, WorldVector<T> &v);
void multMatrixVec(const WorldMatrix<T> &m, const WorldVector<T> &v);
};
......
......@@ -37,7 +37,7 @@ namespace AMDiS {
}
template<typename T>
void WorldVector<T>::multMatrixVec(WorldMatrix<T> &m, WorldVector<T> &v)
void WorldVector<T>::multMatrixVec(const WorldMatrix<T> &m, const WorldVector<T> &v)
{
FUNCNAME("WorldVector<T>::multMatrix()");
TEST_EXIT_DBG(m.getNumRows() == this->getSize())("invalide size\n");
......
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