Skip to content

Commit 737e6de

Browse files
committed
style: fix formatting
1 parent 5665a6d commit 737e6de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Blocks/sources.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ function Interpolation(itp; name)
773773
eqs, t, [], [interpolator]; name, systems = [input, output])
774774
end
775775

776-
struct CachedInterpolation{T,I,U,X,C}
776+
struct CachedInterpolation{T, I, U, X, C}
777777
interpolation_type::I
778778
prev_u::U
779779
prev_x::X
@@ -795,12 +795,12 @@ struct CachedInterpolation{T,I,U,X,C}
795795
X = typeof(prev_x)
796796
C = typeof(cache)
797797

798-
new{T,I,U,X,C}(interpolation_type, prev_u, prev_x, cache)
798+
new{T, I, U, X, C}(interpolation_type, prev_u, prev_x, cache)
799799
end
800800
end
801801

802-
function (f::CachedInterpolation{T})(u, x, args) where T
803-
(;prev_u, prev_x, cache, interpolation_type) = f
802+
function (f::CachedInterpolation{T})(u, x, args) where {T}
803+
(; prev_u, prev_x, cache, interpolation_type) = f
804804

805805
interp = @inbounds if (u, x) (get_tmp(prev_u, u), get_tmp(prev_x, x))
806806
get_tmp(prev_u, u) .= u

0 commit comments

Comments
 (0)