Skip to content

Commit 6912a07

Browse files
committed
Merge cleanup
1 parent 0ff0411 commit 6912a07

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/interpolation_caches.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ drifts far from the integral of constant interpolation. In this interpolation ty
391391
for a test based on the normalized standard deviation of the difference with respect
392392
to the straight line (see [`looks_linear`](@ref)). Defaults to 1e-2.
393393
"""
394-
struct SmoothedConstantInterpolation{uType, tType, IType, dType, cType, dmaxType, T, N} <:
395-
AbstractInterpolation{T, N}
394+
struct SmoothedConstantInterpolation{uType, tType, IType, dType, cType, dmaxType, T} <:
395+
AbstractInterpolation{T}
396396
u::uType
397397
t::tType
398398
I::IType
@@ -407,9 +407,8 @@ struct SmoothedConstantInterpolation{uType, tType, IType, dType, cType, dmaxType
407407
u, t, I, p, d_max, extrapolation_left,
408408
extrapolation_right, cache_parameters, assume_linear_t)
409409
linear_lookup = seems_linear(assume_linear_t, t)
410-
N = get_output_dim(u)
411410
new{typeof(u), typeof(t), typeof(I), typeof(p.d),
412-
typeof(p.c), typeof(d_max), eltype(u), N}(
411+
typeof(p.c), typeof(d_max), eltype(u)}(
413412
u, t, I, p, d_max, extrapolation_left, extrapolation_right,
414413
Guesser(t), cache_parameters, linear_lookup)
415414
end

0 commit comments

Comments
 (0)