← Back to team overview

dolfin team mailing list archive

Re: [Bug 726487] Re: PETScMatrix vector resize uses wrong dim

 

Add matrix tests to Matrix.py. We sort out that it is run automatically 
later.

Garth


On Mar 1 2011, Joachim Haga wrote:

>There seems to be some assumptions that the script is named 'test.py'.
>So here's what I'll do at the moment:
>
>* Reintroduce the matrix test runners
>* Remove the slicing tests
>* Make it work with mpirun -np 2 (by not enabling uBLAS/MTL4 in that case)
>* Add a test for rectangular matrices
>
>I'll leave the splitting/refactoring/etc for later. In this way there
>will at least be some working unit tests.
>
>

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/726487

Title:
  PETScMatrix vector resize uses wrong dim

Status in DOLFIN:
  New

Bug description:
  The size of vectors resized through PETScMatrix::resize is wrong for
  non-square matrices. The left and right matrices are switched. Patch
  attached.



References