Skip to content

Commit 6a65052

Browse files
author
electricessence
committed
Fixed improper sum operator
1 parent f15f7f3 commit 6a65052

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Open.Numeric.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Part of the "Open" set of libraries.</Description>
1616
<PackageProjectUrl>https://github.com/electricessence/Open.Numeric/</PackageProjectUrl>
1717
<RepositoryType>git</RepositoryType>
1818
<PackageTags>dotnet, dotnetcore, cs, numbers, double, float, precision, extensions</PackageTags>
19-
<Version>1.0.1</Version>
19+
<Version>1.0.2</Version>
2020
</PropertyGroup>
2121

2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

ProcedureResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public int CompareTo(ProcedureResult other)
3737
public static ProcedureResult operator +(ProcedureResult a, ProcedureResult b)
3838
{
3939
return new ProcedureResult(
40-
a.Sum + b.Count,
40+
a.Sum + b.Sum,
4141
a.Count + b.Count
4242
);
4343
}

0 commit comments

Comments
 (0)