Skip to content

Commit

Permalink
Merge pull request #3147 from d-torrance/atomic-doc
Browse files Browse the repository at this point in the history
Fix typo in compareExchange docs (z is stored in x, not y)
  • Loading branch information
DanGrayson authored Feb 29, 2024
2 parents 4324243 + d7a744c commit 2214a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/packages/Macaulay2Doc/doc_atomic.m2
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ doc ///
Description
Text
The values of @VAR "x"@ and @VAR "y"@ are compared. If they agree,
then @TO true@ is returned and the value of @VAR "y"@ is stored in
then @TO true@ is returned and the value of @VAR "z"@ is stored in
@VAR "x"@. Otherwise, @TO false@ is returned. This operation occurs
atomically and is thread safe.
Example
Expand Down

0 comments on commit 2214a0d

Please sign in to comment.