Fixed runtime error caused by missing MoreLinq.
This commit is contained in:
1 parent
359897a673
commit
f24373e59a
2 files changed
+6
-7
No files matched your search
@@ -7,7 +7,7 @@
|
|||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<PackageId>Recyclable.Collections.TestData</PackageId>
|
<PackageId>Recyclable.Collections.TestData</PackageId>
|
||||||
<PackageVersion>0.0.3</PackageVersion>
|
<PackageVersion>0.0.3.1</PackageVersion>
|
||||||
<Authors>Marek Lemańczyk</Authors>
|
<Authors>Marek Lemańczyk</Authors>
|
||||||
<Company>N/A</Company>
|
<Company>N/A</Company>
|
||||||
<Product>Recyclable.Collections.TestData</Product>
|
<Product>Recyclable.Collections.TestData</Product>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
|
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<PackageReleaseNotes>Custom collection types added to force desired interfaces.</PackageReleaseNotes>
|
<PackageReleaseNotes>Fixed runtime error caused by missing MoreLinq.</PackageReleaseNotes>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<PackageIcon>logo.png</PackageIcon>
|
<PackageIcon>logo.png</PackageIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using MoreLinq;
|
using Open.Numeric.Primes;
|
||||||
using Open.Numeric.Primes;
|
|
||||||
using Recyclable.Collections;
|
using Recyclable.Collections;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
@@ -202,9 +201,9 @@ namespace Recyclable.Collections.TestData
|
|||||||
).ToArray();
|
).ToArray();
|
||||||
|
|
||||||
IEnumerable<long> second = Prime.Numbers.StartingAt(7)
|
IEnumerable<long> second = Prime.Numbers.StartingAt(7)
|
||||||
.TakeUntil(prime =>
|
.TakeWhile(prime =>
|
||||||
prime > ((blockSize * 2) - 1) ||
|
prime <= ((blockSize * 2) - 1) &&
|
||||||
prime >= itemsCount
|
prime < itemsCount
|
||||||
);
|
);
|
||||||
|
|
||||||
primes = primes.Concat(second).ToArray();
|
primes = primes.Concat(second).ToArray();
|
||||||
|
|||||||
Reference in new issue
Block a user