From c89d5444339643b433a048d372e3eabaed10b4d0 Mon Sep 17 00:00:00 2001 From: Dhairya Gandhi Date: Wed, 28 Jun 2023 04:08:41 +0530 Subject: [PATCH] fix logging repeatedly --- src/performance_warnings.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/performance_warnings.jl b/src/performance_warnings.jl index b02c928c1..28bf92e42 100644 --- a/src/performance_warnings.jl +++ b/src/performance_warnings.jl @@ -29,6 +29,6 @@ set_preferences!(UUID("1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"), "PerformanceWarni """ function warn_paramtype(p, warn_performance = PERFORMANCE_WARNINGS) if warn_performance && should_warn_paramtype(p) - @warn(WARN_PARAMTYPE_MESSAGE) + @warn WARN_PARAMTYPE_MESSAGE maxlog=1 end end