Skip to content

Commit

Permalink
chore: fixed error in UniPoly by putting Lagrange in namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
quangvdao committed Dec 20, 2024
1 parent fd1aca9 commit f52f3fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZKLib/Data/UniPoly/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ def QuotientUniPoly := Quotient (@instSetoidUniPoly R _)

end Equiv

end UniPoly

namespace Lagrange

-- unique polynomial of degree n that has nodes at ω^i for i = 0, 1, ..., n-1
Expand All @@ -315,6 +313,8 @@ def interpolate {R : Type*} [Semiring R] (n : ℕ) (ω : R) (r : Vector R n) : U

end Lagrange

end UniPoly

section Tropical
/-- This section courtesy of Junyan Xu -/

Expand Down

0 comments on commit f52f3fc

Please sign in to comment.