~fenics-core/ufl/main

« back to all changes in this revision

Viewing changes to test/test_signature.py

  • Committer: Martin Sandve Alnaes
  • Date: 2013-03-15 09:30:29 UTC
  • Revision ID: martinal@simula.no-20130315093029-tq1fuc2au1efetik
Fix bug 1155210, dot not checking input argument dimensions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
                        u = Coefficient(V)
333
333
                        v = TestFunction(V)
334
334
                        x = cell.x
335
 
                        w = as_vector([v,v])
 
335
                        w = as_vector([v]*x.shape()[0])
336
336
                        f = dot(w, u*x)
337
337
                        a = f*dx
338
338
                        yield a