Skip to content

Commit

Permalink
correct error message
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Wieser <[email protected]>
  • Loading branch information
YaelDillies and eric-wieser authored May 10, 2024
1 parent 392caf3 commit 0bd140e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/Tactic/Positivity/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def evalNNRatDen : PositivityExt where eval {u α} _ _ e := do
| 0, ~q(ℕ), ~q(NNRat.den $a) =>
assumeInstancesCommute
return .positive q(den_pos $a)
| _, _, _ => throwError "not NNRat.num"
| _, _, _ => throwError "not NNRat.den"

variable {q : ℚ≥0}

Expand Down

0 comments on commit 0bd140e

Please sign in to comment.