From 2fcfbb549097ecd446304b127b4e0cb032b135b7 Mon Sep 17 00:00:00 2001 From: Ilian Pihlajamaa Date: Mon, 11 Sep 2023 18:05:13 +0200 Subject: [PATCH] another small mistake --- src/problems/basic_problems.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/problems/basic_problems.jl b/src/problems/basic_problems.jl index dd94f21a0..24b955965 100644 --- a/src/problems/basic_problems.jl +++ b/src/problems/basic_problems.jl @@ -421,7 +421,7 @@ struct IntegralDataProblem{Y<:AbstractArray, X<:AbstractVector, DIMVAL, K} <: Ab y::Y dim::DIMVAL kwargs::K - @add_kwonly function IntegralProblem(x, y; + @add_kwonly function IntegralDataProblem(x, y; dim = 1, kwargs...) @assert length(x) > 1