From 24e2fd1abd69992d84305715b8a1f6994da5f5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 8 Aug 2023 15:56:15 +0200 Subject: [PATCH] Switch error to warning --- src/measure.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/measure.jl b/src/measure.jl index b92b395..f1b1357 100644 --- a/src/measure.jl +++ b/src/measure.jl @@ -29,8 +29,8 @@ function Measure( j = rev[x[i]] if i != σ[j] if !isapprox(b[j], a[i]; kws...) - error( - "The monomial `$(x[i])` occurs twice with different values: `$(a[i])` and `$(b[j])`", + @warn( + "The monomial `$(x[i])` occurs twice with different values: `$(a[i])` and `$(b[j])`, keeping the first one.", ) end end