Tiny cleanup
This commit is contained in:
1 parent
f8867205bf
commit
c2b57ae13d
1 file changed
+1
-1
@@ -479,7 +479,7 @@ public sealed class MersenneNumberDivisorByDivisorGpuTester
|
|||||||
|
|
||||||
if (computeCount > 0)
|
if (computeCount > 0)
|
||||||
{
|
{
|
||||||
Span<ulong> exponentSlice = hostSpan.Slice(0, computeCount);
|
Span<ulong> exponentSlice = hostSpan[..computeCount];
|
||||||
ulong currentPrime = hasPreviousResidue ? previousPrime : 0UL;
|
ulong currentPrime = hasPreviousResidue ? previousPrime : 0UL;
|
||||||
bool hasDeltaSource = hasPreviousResidue;
|
bool hasDeltaSource = hasPreviousResidue;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user