Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Dec 14, 2024
1 parent 6e57d83 commit 553dede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Lucene.Net/Support/Threading/AtomicDouble.cs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public static implicit operator double(AtomicDouble atomicInt64)
if (a1 is null)
return false;

return a1.Value.Equals(a2);
return a1.Equals(a2);
}

/// <summary>
Expand Down Expand Up @@ -391,7 +391,7 @@ public static implicit operator double(AtomicDouble atomicInt64)
if (a2 is null)
return false;

return a1.Value.Equals(a2.Value);
return a1.Equals(a2.Value);
}

/// <summary>
Expand Down

0 comments on commit 553dede

Please sign in to comment.