Skip to content

Commit

Permalink
Update lnodes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd authored May 29, 2024
1 parent b023329 commit cbfa411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffcx/codegeneration/lnodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def is_negative_one_lexpr(lexpr):
def float_product(factors):
"""Build product of float factors.
Simplify ones and zeros and returning 1.0 if empty sequence.
Simplify ones and returning 1.0 if empty sequence.
"""
factors = [f for f in factors if not is_one_lexpr(f)]
if len(factors) == 0:
Expand Down

0 comments on commit cbfa411

Please sign in to comment.