### indices() is not working in the 2018 version

47
views
1
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

from ufl import indices