Skip to content

Commit 04eeb0a

Browse files
[bug] replace wrong argument to projection in Algebra.Morphism.Construct.DirectProduct (#2822)
* [bug] fix "wrong" argument to projection * add: note on bug fix to `CHANGELOG` --------- Co-authored-by: jamesmckinna <[email protected]>
1 parent dfa5b89 commit 04eeb0a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Bug-fixes
1111

1212
* Fix a type error in `README.Data.Fin.Relation.Unary.Top` within the definition of `>-weakInduction`.
1313

14+
* Fix a typo in `Algebra.Morphism.Construct.DirectProduct`.
15+
1416
Non-backwards compatible changes
1517
--------------------------------
1618

src/Algebra/Morphism/Construct/DirectProduct.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module Monoid-Export {M : RawMonoid a ℓ₁} {N : RawMonoid b ℓ₂} where
133133
module N = RawMonoid N
134134

135135
module _ {refl : Reflexive M._≈_} where
136-
proj₁ = Proj₁.isMonoidHomomorphism M M refl
136+
proj₁ = Proj₁.isMonoidHomomorphism M N refl
137137

138138
module _ {refl : Reflexive N._≈_} where
139139
proj₂ = Proj₂.isMonoidHomomorphism M N refl

0 commit comments

Comments
 (0)