@@ -143,19 +143,19 @@ function Conversion(L::Jacobi,M::Jacobi)
143143 dm= domain (M)
144144 if isapprox (M. a,L. a) && isapprox (M. b,L. b)
145145 ConversionWrapper (Operator (I,L))
146- elseif (isapprox (M. b,L. b+ static ( 1 ) ) && isapprox (M. a,L. a)) ||
147- (isapprox (M. b,L. b) && isapprox (M. a,L. a+ static ( 1 ) ))
146+ elseif (isapprox (M. b,L. b+ 1 ) && isapprox (M. a,L. a)) ||
147+ (isapprox (M. b,L. b) && isapprox (M. a,L. a+ 1 ))
148148 ConcreteConversion (L,M)
149- elseif M. b > L. b+ static ( 1 )
149+ elseif M. b > L. b+ 1
150150 ConversionWrapper (
151151 TimesOperator (
152- Conversion (Jacobi (M. b- static ( 1 ) ,M. a,dm),M),
153- Conversion (L,Jacobi (M. b- static ( 1 ) ,M. a,dm))))
152+ Conversion (Jacobi (M. b- 1 ,M. a,dm),M),
153+ Conversion (L,Jacobi (M. b- 1 ,M. a,dm))))
154154 else # if M.a >= L.a+1
155155 ConversionWrapper (
156156 TimesOperator (
157- Conversion (Jacobi (M. b,M. a- static ( 1 ) ,dm),M),
158- Conversion (L,Jacobi (M. b,M. a- static ( 1 ) ,dm))))
157+ Conversion (Jacobi (M. b,M. a- 1 ,dm),M),
158+ Conversion (L,Jacobi (M. b,M. a- 1 ,dm))))
159159 end
160160 elseif L. a ≈ L. b ≈ 0 && M. a ≈ M. b ≈ 0.5
161161 Conversion (L,Ultraspherical (L),Ultraspherical (M),M)
225225
226226isequalminhalf (x) = x == - 0.5
227227isequalminhalf (@nospecialize :: Integer ) = false
228- isequalminhalf (@nospecialize :: StaticInt ) = false
229228
230229function Conversion (A:: Jacobi ,B:: Chebyshev )
231230 if isequalminhalf (A. a) && isequalminhalf (A. b)
408407
409408isapproxminhalf (a) = a ≈ - 0.5
410409isapproxminhalf (:: Integer ) = false
411- isapproxminhalf (@nospecialize :: StaticInt ) = false
412410
413411function union_rule (A:: Jacobi ,B:: Jacobi )
414412 if domainscompatible (A,B)
0 commit comments