Skip to content

Commit

Permalink
chore(algebra/module) remove an unneeded commutativity assumption (#1813
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alexjbest authored and mergify[bot] committed Dec 19, 2019
1 parent 5dae5d2 commit e875492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algebra/module.lean
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ begin
end

--TODO: move
lemma is_linear_map_smul' {α R : Type*} [add_comm_group α] [comm_ring R] [module R α] (a : α) :
lemma is_linear_map_smul' {α R : Type*} [add_comm_group α] [ring R] [module R α] (a : α) :
is_linear_map R (λ (c : R), c • a) :=
begin
refine is_linear_map.mk (λ x y, add_smul x y a) _,
Expand Down

0 comments on commit e875492

Please sign in to comment.