indices() is not working in the 2018 version

13 days ago by
Hi all,

I have experienced in a MacOsX FEniCS stable:latest run via docker the problem that indices() is not working. Hence, summation convention in as_tensor() is not working.

I have found out in bitbucket a discussion about the issue of importing dolfin.ufl (and because of that the problem of indices). Is there a remedy?

At the moment, the only solution that I find is to use 2017.2.0 version.

Here is the code:
from dolfin import *
i, j, k = indices(3)​

Best, Emek
Community: FEniCS Project

1 Answer

5 days ago by
from ufl import indices

I think this was a design choice as to avoiding duplicate definitions and to obtain more clarity about which function is from which package.

Please login to add an answer/comment or follow this question.

Similar posts:
Search »