Skip to content

Commit 5914927

Browse files
committed
Minor fixes
1 parent c6d18ce commit 5914927

5 files changed

Lines changed: 12 additions & 21 deletions

File tree

src/GraphBLAS-sharp/GraphBLAS-sharp.fsproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
<Compile Include="Backend/Common/Utils.fs" />
2020
<Compile Include="Backend/Common/Copy.fs" />
2121
<Compile Include="Backend/Common/PrefixSum.fs" />
22-
<Compile Include="Backend\Common\BitonicSort.fs" />
22+
<Compile Include="Backend/Common/BitonicSort.fs" />
2323
<Compile Include="Backend/Common/RemoveDuplicates.fs" />
2424
<Compile Include="Backend/CSRMatrix/GetTuples.fs" />
2525
<Compile Include="Backend/CSRMatrix/SpGEMM.fs" />
2626
<Compile Include="Backend/CSRMatrix/SpMSpV.fs" />
27-
<Compile Include="Backend\CSRMatrix\SpMV.fs" />
28-
<Compile Include="Backend\CSRMatrix\Transpose.fs" />
27+
<Compile Include="Backend/CSRMatrix/SpMV.fs" />
28+
<Compile Include="Backend/CSRMatrix/Transpose.fs" />
2929
<Compile Include="Backend/COOMatrix/Utilities/Merge.fs" />
3030
<Compile Include="Backend/COOMatrix/Utilities/PreparePositions.fs" />
3131
<Compile Include="Backend/COOMatrix/Utilities/SetPositions.fs" />
@@ -53,4 +53,4 @@
5353
</Content>
5454
</ItemGroup>
5555
<Import Project="..\..\.paket\Paket.Restore.targets" />
56-
</Project>
56+
</Project>

src/GraphBLAS-sharp/Predefined/Semirings/AnyAll.fs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,3 @@ module AnyAll =
88
PlusMonoid = Any.bool
99
TimesSemigroup = { AssociativeOp = ClosedBinaryOp <@ (&&) @> }
1010
}
11-
12-
// type B private () =
13-
// static let instance = B()
14-
// static member Instance = instance
15-
// member this.Pl() = bool.PlusMonoid.AssociativeOp
16-
17-
18-
// type AnyAll2<'a> =
19-
// member this.P =

tests/GraphBLAS-sharp.Tests/GraphBLAS-sharp.Tests.fsproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<ItemGroup>
1010
<Compile Include="AssemblyInfo.fs" />
1111
<Compile Include="Helpers.fs" />
12-
<Compile Include="BackendCommonTests\PrefixSumTests.fs" />
12+
<Compile Include="BackendCommonTests/PrefixSumTests.fs" />
1313
<Compile Include="BackendCommonTests/BitonicSortTests.fs" />
14-
<Compile Include="BackendCommonTests\RemoveDuplicatesTests.fs" />
14+
<Compile Include="BackendCommonTests/RemoveDuplicatesTests.fs" />
1515
<Compile Include="MatrixOperationsTests/GetTuplesTests.fs" />
1616
<Compile Include="MatrixOperationsTests/MxmTests.fs" />
1717
<Compile Include="MatrixOperationsTests/MxvTests.fs" />
1818
<Compile Include="MatrixOperationsTests/VxmTests.fs" />
1919
<Compile Include="MatrixOperationsTests/EWiseAddTests.fs" />
20-
<Compile Include="MatrixOperationsTests\TransposeTests.fs" />
21-
<Compile Include="AlgorithmsTests\BfsTests.fs" />
20+
<Compile Include="MatrixOperationsTests/TransposeTests.fs" />
21+
<Compile Include="AlgorithmsTests/BfsTests.fs" />
2222
<Compile Include="Program.fs" />
2323
</ItemGroup>
2424
<Import Project="..\..\.paket\Paket.Restore.targets" />
25-
</Project>
25+
</Project>

tests/GraphBLAS-sharp.Tests/Helpers.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ module Generators =
288288
module Utils =
289289
let defaultConfig =
290290
{ FsCheckConfig.defaultConfig with
291-
maxTest = 10
292-
// startSize = 1
291+
maxTest = 20
292+
startSize = 1
293293
endSize = 1000
294294
arbitrary = [
295295
typeof<Generators.SingleMatrix>

tests/GraphBLAS-sharp.Tests/MatrixOperationsTests/MxvTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ let testFixtures case = [
166166
|> testPropertyWithConfig config (getCorrectnessTestName "int")
167167

168168
case
169-
|> correctnessGenericTest<float> AddMult.float (fun x y -> abs (x - y) < Accuracy.medium.relative)
169+
|> correctnessGenericTest<float> AddMult.float (fun x y -> abs (x - y) < Accuracy.low.relative)
170170
|> testPropertyWithConfig config (getCorrectnessTestName "float")
171171

172172
case

0 commit comments

Comments
 (0)