Skip to content

Commit 778b5f5

Browse files
committed
remove optional from inner contructor
1 parent ab07ff7 commit 778b5f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/integral_inverses.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ struct LinearInterpolationIntInv{uType, tType, itpType, T} <:
4141
extrapolation_right::ExtrapolationType.T
4242
iguesser::Guesser{tType}
4343
itp::itpType
44-
function LinearInterpolationIntInv(u, t, A, extrapolation_left = A.extrapolation_left,
45-
extrapolation_right = A.extrapolation_right)
44+
function LinearInterpolationIntInv(u, t, A, extrapolation_left,
45+
extrapolation_right)
4646
new{typeof(u), typeof(t), typeof(A), eltype(u)}(
4747
u, t, extrapolation_left, extrapolation_right, Guesser(t), A)
4848
end
@@ -98,8 +98,7 @@ struct ConstantInterpolationIntInv{uType, tType, itpType, T} <:
9898
iguesser::Guesser{tType}
9999
itp::itpType
100100
function ConstantInterpolationIntInv(
101-
u, t, A, extrapolation_left = A.extrapolation_left,
102-
extrapolation_right = A.extrapolation_right)
101+
u, t, A, extrapolation_left, extrapolation_right)
103102
new{typeof(u), typeof(t), typeof(A), eltype(u)}(
104103
u, t, extrapolation_left, extrapolation_right, Guesser(t), A
105104
)

0 commit comments

Comments
 (0)