Skip to content

Commit

Permalink
Update operators.py (FEniCS#67)
Browse files Browse the repository at this point in the history
Fix the docstring for dot
  • Loading branch information
lrtfm authored Aug 26, 2021
1 parent a41f5b6 commit cf8d177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _partial_inner(a, b):


def dot(a, b):
"UFL operator: Take the dot product of *a* and *b*. The complex conjugate of the second argument is taken."
"UFL operator: Take the dot product of *a* and *b*. This won't take the complex conjugate of the second argument."
a = as_ufl(a)
b = as_ufl(b)
if a.ufl_shape == () and b.ufl_shape == ():
Expand Down

0 comments on commit cf8d177

Please sign in to comment.