Skip to content

Commit

Permalink
feat(core): improve error message in FiniteMonoidMap.checkFiniteMonoi…
Browse files Browse the repository at this point in the history
…dMapAxioms
  • Loading branch information
shwaka committed Dec 24, 2023
1 parent 34ac2f9 commit a9ebf5e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public interface FiniteMonoidMap<ES : FiniteMonoidElement, ET : FiniteMonoidElem
val rhs = multiplyTarget(map(a), map(b))
if (lhs != rhs) {
cause.add(
"f(ab)=f(a)f(b) is not satisfied for a=$a, b=$b"
"f(ab)=f(a)f(b) is not satisfied for a=$a, b=$b; " +
"f(ab) = $lhs and f(a)f(b) = $rhs"
)
}
}
Expand Down

0 comments on commit a9ebf5e

Please sign in to comment.