Commit df04dc93 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

multMatrixVector with const arguments

parent eb820a99
...@@ -440,7 +440,7 @@ namespace AMDiS { ...@@ -440,7 +440,7 @@ namespace AMDiS {
} }
/// Multplication of a matrix with a vector. /// 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 { ...@@ -37,7 +37,7 @@ namespace AMDiS {
} }
template<typename T> 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()"); FUNCNAME("WorldVector<T>::multMatrix()");
TEST_EXIT_DBG(m.getNumRows() == this->getSize())("invalide size\n"); TEST_EXIT_DBG(m.getNumRows() == this->getSize())("invalide size\n");
......
Supports Markdown
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