diff --git a/Prototypes/PacletInfo.m b/Prototypes/PacletInfo.m index b1aa1f1..3c9ab35 100644 --- a/Prototypes/PacletInfo.m +++ b/Prototypes/PacletInfo.m @@ -73,7 +73,7 @@ "Prototypes`$RoamingAppDataDirectory", "Prototypes`$UUIDStringPattern", "Prototypes`RandomRomanNumeral", "Prototypes`Deconstruct", "Prototypes`RandomDelete", -"Prototypes`RandomPosition", "Prototypes`What3Words", "Prototypes`$HashTypes"} +"Prototypes`RandomPosition", "Prototypes`What3Words", "Prototypes`$HashTypes", "Prototypes`PrimeCount"} } } ] diff --git a/Prototypes/Source/Primes/Primes.wl b/Prototypes/Source/Primes/Primes.wl index abf0377..53ac34c 100644 --- a/Prototypes/Source/Primes/Primes.wl +++ b/Prototypes/Source/Primes/Primes.wl @@ -1,3 +1,3 @@ -primeCountBinary = FileNameJoin[{DirectoryName[$InputFileName], "Binaries", $SystemID, "primecount"}] ]; +primeCountBinary = FileNameJoin[{DirectoryName[$InputFileName], "Binaries", $SystemID, "primecount"}]; PrimeCount[n_Integer] := ToExpression[ StringTrim[ RunProcess[ {primeCountBinary, ToString[n]}, "StandardOutput"]]];