Skip to content
Snippets Groups Projects
Commit 3022036d authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[!294] fix identity handling

Merge branch 'feature/fix-identity-handling' into 'master'

ref:extensions/dune-codegen 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.

See merge request [extensions/dune-codegen!294]

  [extensions/dune-codegen!294]: gitlab.dune-project.org/extensions/dune-codegen/merge_requests/294
parents 0a07cf37 fa490cab
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment