Skip to content

Commit d84e271

Browse files
committed
fix
1 parent e991aa3 commit d84e271

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Instances.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ lemma Commute.mul_nonneg {a b : A} (ha : 0 ≤ a) (hb : 0 ≤ b) (h : Commute a
272272

273273
lemma commute_iff_mul_nonneg {a b : A} (ha : 0 ≤ a) (hb : 0 ≤ b) :
274274
Commute a b ↔ 0 ≤ a * b :=
275-
fun h => h.mul_nonneg ha hb,
275+
Commute.mul_nonneg ha hb,
276276
fun h => ha.isSelfAdjoint.commute_iff hb.isSelfAdjoint |>.mpr h.isSelfAdjoint⟩
277277

278278
open NNReal in

Mathlib/LinearAlgebra/Matrix/PosDef.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ variable [Fintype m] [Fintype n]
3535
variable [Ring R] [PartialOrder R] [StarRing R]
3636
variable [CommRing R'] [PartialOrder R'] [StarRing R']
3737
variable [RCLike 𝕜]
38-
open Matrix
38+
open scoped Matrix
3939

4040
/-!
4141
## Positive semidefinite matrices

0 commit comments

Comments
 (0)