Skip to content
Snippets Groups Projects
Commit 83d0a024 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Vewc --> FieldVector.

[[Imported from SVN: r915]]
parent 607e61ec
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ namespace Dune {
Mat(T t)
{
for(int j=0; j<m; j++)
for (int i=0; i<n; i++) a[j](i) = t;
for (int i=0; i<n; i++) a[j][i] = t;
}
//! operator () for read/write access to element in matrix
......@@ -69,7 +69,7 @@ namespace Dune {
{
Mat<n,1,T> z(0.0);
for (int j=0; j<m; j++)
for (int i=0; i<n; i++) z(i,0) += a[j](i) * x(j,0);
for (int i=0; i<n; i++) z(i,0) += a[j][i] * x(j,0);
return z;
}
......
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