@@ -96,21 +96,21 @@ function transformation_if_inf(prob)
96
96
h (t , p) = transform_inf (t , p , g , prob. lb , prob. ub)
97
97
lb = - 1.00
98
98
ub = 1.00
99
- _prob = QuadratureProblem (h , lb ,ub, p = prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs)
99
+ _prob = QuadratureProblem (h , lb ,ub, prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs... )
100
100
return _prob
101
101
elseif prob. lb != - Inf && prob. ub == Inf
102
102
g = prob. f
103
103
h_ (t , p) = transform_inf (t , p , g , prob. lb , prob. ub)
104
104
lb = 0.00
105
105
ub = 1.00
106
- _prob = QuadratureProblem (h_ , lb ,ub, p = prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs)
106
+ _prob = QuadratureProblem (h_ , lb ,ub, prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs... )
107
107
return _prob
108
108
elseif prob. lb == - Inf && prob. ub != Inf
109
109
g = prob. f
110
110
_h (t , p) = transform_inf (t , p , g , prob. lb , prob. ub)
111
111
lb = - 1.00
112
112
ub = 0.00
113
- _prob = QuadratureProblem (_h , lb ,ub, p = prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs)
113
+ _prob = QuadratureProblem (_h , lb ,ub, prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs... )
114
114
return _prob
115
115
end
116
116
end
@@ -126,7 +126,7 @@ function transformation_if_inf(prob)
126
126
_ub = 1.00 .* _semiup + 1.00 .* _inf + 0.00 .* _semilw + _none.* prob. ub
127
127
g = prob. f
128
128
hs (t , p) = transform_inf (t , p , g , prob. lb , prob. ub)
129
- _prob = QuadratureProblem (hs, _lb ,_ub, p = prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs)
129
+ _prob = QuadratureProblem (hs, _lb ,_ub, prob. p , nout = prob. nout , batch = prob. batch , prob. kwargs... )
130
130
return _prob
131
131
end
132
132
return prob
0 commit comments