← Back to team overview

ufl team mailing list archive

[HG UFL] Replaced use of 'x.__class__' with 'type(x)'.

 

One or more new changesets pushed to the primary ufl repository.
A short summary of the last three changesets is included below.

changeset:   328:27d46d3a0271c66d2f7e741a6d0b57d598a37ba6
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Tue Oct 21 10:59:53 2008 +0200
files:       ufl/algorithms/ad.py ufl/algorithms/analysis.py ufl/algorithms/dependencies.py ufl/algorithms/indexalgorithms.py ufl/algorithms/printing.py ufl/algorithms/transformations.py ufl/algorithms/ufl2latex.py ufl/algorithms/variables.py
description:
Replaced use of "x.__class__" with "type(x)".
This is the same for new-type classes,
and is both prettier and slightly faster.


changeset:   327:1b12a74cebb7b9614e6617efe2c4712c8386edbb
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Oct 17 17:37:10 2008 +0200
files:       sandbox/basic_form_compiler.py ufl/algorithms/dependencies.py ufl/algorithms/formdata.py
description:
More work on split_by_dependencies, have some
problems that made me doubt this approach...


changeset:   326:194ed9b5977b2b6c576042ccc881187ed254c752
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Oct 17 15:33:04 2008 +0200
files:       ufl/algorithms/dependencies.py ufl/algorithms/formdata.py ufl/common.py
description:
Work in improving split_by_dependencies.
Added some minor details to FormData.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/ufl