as_backend_type fails with Lucid

Bug #1060119 reported by Anders Logg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
High
Johan Hake

Bug Description

The la unit tests are failing on the Lucid buildbot with the following error message:

*** Error: Unable to extract backend type for Vector.
*** Reason: This apparently doesn't work for uBLAS...
*** Where: This error was encountered inside dolfin/swig/la/post.i.

For some reason the function _has_type_uBLASVector() returns False when it gets a Vector initialized with the backend set to
uBLAS. The reason is likely an old SWIG version (2.0.3)?

To reproduce:

from dolfin import *
parameters.linear_algebra_backend = "uBLAS"
x = Vector()
print as_backend_type(x)

Anders Logg (logg)
Changed in dolfin:
milestone: none → 1.1.0
importance: Undecided → High
assignee: nobody → Johan Hake (johan-hake)
Changed in dolfin:
milestone: 1.1.0 → trunk
Changed in dolfin:
status: New → Won't Fix
Revision history for this message
Johan Hake (johan-hake) wrote :

This has been fixed.

Changed in dolfin:
status: Won't Fix → Incomplete
status: Incomplete → Fix Committed
milestone: trunk → 1.1.0
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.