FFC

Merge lp:~martinal/ffc/work into lp:ffc

Proposed by Martin Sandve Alnæs
Status: Merged
Merged at revision: 1749
Proposed branch: lp:~martinal/ffc/work
Merge into: lp:ffc
Diff against target: 15 lines (+2/-3)
1 file modified
ffc/jitcompiler.py (+2/-3)
To merge this branch: bzr merge lp:~martinal/ffc/work
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+102819@code.launchpad.net

Description of the change

To post a comment you must log in.
lp:~martinal/ffc/work updated
1749. By Anders Logg <logg@glaurung>

Merge: Martin Sandve Alnæs 2012-04-20 Bugfix in jit_element.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ffc/jitcompiler.py'
--- ffc/jitcompiler.py 2011-10-26 03:04:52 +0000
+++ ffc/jitcompiler.py 2012-04-20 09:19:20 +0000
@@ -170,9 +170,8 @@
170170
171 # Create simplest possible dummy form171 # Create simplest possible dummy form
172 v = TestFunction(element)172 v = TestFunction(element)
173 for i in range(len(element.value_shape())):173 ii = (0,)*v.rank()
174 v = v[i]174 form = v[ii]*dx
175 form = v*dx
176175
177 # Compile form176 # Compile form
178 compiled_form, module, form_data, prefix = jit_form(form, parameters)177 compiled_form, module, form_data, prefix = jit_form(form, parameters)