Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 30, 2024
1 parent d518847 commit 15525f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/Euler/include/prime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static long isComposite(long n)
{
var factors = PrimeFactors(n).GetEnumerator();
factors.MoveNext();
long first = factors.current;
long first = factors.Current;
if (first == n)
return 0;
return first;
Expand Down

0 comments on commit 15525f6

Please sign in to comment.