Skip to content

Commit

Permalink
Fix syntax error typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Dec 13, 2024
1 parent 0bdf0ff commit 6e57d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lucene.Net/Support/Threading/AtomicDouble.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public bool Equals(AtomicDouble? other)
public bool Equals(double other)
{
// NOTE: comparing long values rather than floating point comparison
return Interlocked.Read(ref value) == BitConversion.DoubleToRawInt64Bits(other));
return Interlocked.Read(ref value) == BitConversion.DoubleToRawInt64Bits(other);
}

/// <summary>
Expand Down

0 comments on commit 6e57d83

Please sign in to comment.