Skip to content

Commit 497ae5f

Browse files
authored
concrete eltype in ivp and bvp (#449)
1 parent 5651c77 commit 497ae5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Operators/functionals/Evaluation.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ lneumann(d) = ldiffbc(d,1)
128128
rneumann(d) = rdiffbc(d,1)
129129

130130

131-
ivp(d,k) = Operator{prectype(d)}[ldiffbc(d,i) for i=0:k-1]
132-
bvp(d,k) = vcat(Operator{prectype(d)}[ldiffbc(d,i) for i=0:div(k,2)-1],
133-
Operator{prectype(d)}[rdiffbc(d,i) for i=0:div(k,2)-1])
131+
ivp(d,k) = [ldiffbc(d,i) for i=0:k-1]
132+
bvp(d,k) = vcat([ldiffbc(d,i) for i=0:div(k,2)-1],
133+
[rdiffbc(d,i) for i=0:div(k,2)-1])
134134

135-
periodic(d,k) = Operator{prectype(d)}[Evaluation(d,leftendpoint,i)-Evaluation(d,rightendpoint,i) for i=0:k]
135+
periodic(d,k) = [Evaluation(d,leftendpoint,i)-Evaluation(d,rightendpoint,i) for i=0:k]
136136

137137
# shorthand for second order
138138
ivp(d) = ivp(d,2)

0 commit comments

Comments
 (0)