Skip to content

Commit

Permalink
Amend par_loop docstring (#3936)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward authored Dec 18, 2024
1 parent 85521cd commit a058aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/parloops.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def par_loop(kernel, measure, args, kernel_kwargs=None, **kwargs):
domain = '{[i]: 0 <= i < A.dofs}'
instructions = '''
for i
A[i] = max(A[i], B[0])
A[i] = fmax(A[i], B[0])
end
'''
par_loop((domain, instructions), dx, {'A' : (A, RW), 'B': (B, READ)})
Expand Down

0 comments on commit a058aea

Please sign in to comment.