Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Software
CoPaR
Commits
f81eea8c
Commit
f81eea8c
authored
Mar 21, 2019
by
Thorsten Wißmann
🐧
Committed by
Hans-Peter Deifel
Mar 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sum in MonoidValued
parent
f77957a9
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Copar/Functors/MonoidValued.hs
src/Copar/Functors/MonoidValued.hs
+1
-1
No files found.
src/Copar/Functors/MonoidValued.hs
View file @
f81eea8c
...
...
@@ -199,7 +199,7 @@ instance (Monoid m, Ord m) => RefinementInterface (SlowMonoidValued m) where
let
toS
=
foldl'
(
flip
SumBag
.
insert
)
SumBag
.
empty
labels
toCWithoutS
=
foldl'
(
flip
SumBag
.
delete
)
counts
labels
sumS
=
fold
toS
sumCWithoutS
=
fold
toS
sumCWithoutS
=
fold
to
CWithout
S
f3
=
(
sumRest
,
sumCWithoutS
,
sumS
)
w1
=
(
sumRest
<>
sumCWithoutS
,
toS
)
w2
=
(
sumRest
<>
sumS
,
toCWithoutS
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment