Skip to content

fix identity handling

Marcel Koch requested to merge feature/fix-identity-handling into master

Before, using this

A = as_matrix([[x[i]*x[j] for j in range(2)] for i in range(2)]) + I

in a ufl file didn't compile, but

A = as_matrix([[x[i]*x[j] + I[i,j] for j in range(2)] for i in range(2)])

did.

Merge request reports

Loading