From 25d1aa8767a272da5bfeb3944c7980394306028b Mon Sep 17 00:00:00 2001 From: michielstock Date: Tue, 6 Feb 2024 10:14:09 +0100 Subject: [PATCH] :ambulance: fix m->n Vandermonde --- notebooks/day2/02-composite_types.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/day2/02-composite_types.jl b/notebooks/day2/02-composite_types.jl index 6f7c1e2..28a3772 100644 --- a/notebooks/day2/02-composite_types.jl +++ b/notebooks/day2/02-composite_types.jl @@ -255,8 +255,8 @@ dungbomb_fund = money_ron + money_harry begin struct Vandermonde{T,VT} <: AbstractMatrix{T} α::VT - m::Int - Vandermonde(α::AbstractVector{T}, m) where {T} = missing + n::Int + Vandermonde(α::AbstractVector{T}, n) where {T} = missing end # take length of α as a default value of m