`expr.geometric_dimension` vs `find_geometric_dimension(expr)`

Issue #81 resolved
Former user created an issue

If I use expr.geometric_dimension to get the current geometric dimension, ffc complains that

Expr.geometric_dimension() is deprecated, please use find_geometric_dimension(expr) instead.

but if I use find_geometric_dimension(expr) in place of it, I get

NameError: name 'find_geometric_dimension' is not defined

Comments (5)

  1. Martin Sandve Alnæs

    Using cell.geometric_dimension() should not raise any warning.

    Can you just disable the deprecation warning?

  2. Log in to comment