From 064556c5fcdc5710dd3a05110fb207e448780d79 Mon Sep 17 00:00:00 2001 From: Neven Sajko Date: Thu, 8 Sep 2022 04:35:35 +0200 Subject: [PATCH] print: fix UndefVarError: NParams not defined --- src/polynomial_system.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polynomial_system.jl b/src/polynomial_system.jl index e4131aa..8b69883 100644 --- a/src/polynomial_system.jl +++ b/src/polynomial_system.jl @@ -128,7 +128,7 @@ function Base.show(io::IO, p::PolynomialSystem{N, NVars, NParams}) where {N, NVa foreach(pi -> println(io, "\n", " ", pi), p) end -function Base.print(io::IO, p::PolynomialSystem{N, NVars}) where {N, NVars, NParams} +function Base.print(io::IO, p::PolynomialSystem{N, NVars, NParams}) where {N, NVars, NParams} print(io, "PolynomialSystem{$N, $NVars, $NParams}(") foreach(pi -> print(io, pi, ", "), p) print(")")