@@ -56,7 +56,7 @@ macro functional(FF)
5656 Base. size (A:: $FF ,k:: Integer ) = k== 1 ? 1 : dimension (domainspace (A))
5757 ApproxFunBase. rangespace (F:: $FF ) = ConstantSpace (eltype (F))
5858 ApproxFunBase. isafunctional (:: $FF ) = true
59- ApproxFunBase. blockbandwidths (A:: $FF ) = 0 ,hastrivialblocks (domainspace (A)) ? bandwidth (A,2 ) : ∞
59+ ApproxFunBase. blockbandwidths (A:: $FF ) = 0 ,hastrivialblocks (domainspace (A)) ? bandwidth (A,2 ) : ℵ₀
6060 function ApproxFunBase. defaultgetindex (f:: $FF ,k:: Integer ,j:: Integer )
6161 @assert k== 1
6262 f[j]:: eltype (f)
@@ -101,7 +101,7 @@ function lastindex(A::Operator, n::Integer)
101101 elseif n== 2
102102 size (A,2 )
103103 elseif isinf (size (A,2 )) || isinf (size (A,1 ))
104- ∞
104+ ℵ₀
105105 else
106106 size (A,1 )
107107 end
371371for OP in (:colstart ,:colstop ,:rowstart ,:rowstop )
372372 defOP = Meta. parse (" default_" * string (OP))
373373 @eval begin
374- $ OP (A:: Operator ,i:: Integer ) = $ defOP (A,i)
375- $ OP (A:: Operator ,i:: Infinity ) = ∞
374+ $ OP (A:: Operator , i:: Integer ) = $ defOP (A,i)
375+ $ OP (A:: Operator , i:: PosInfinity ) = ℵ₀
376376 end
377377end
378378
@@ -461,7 +461,7 @@ macro wrapperstructure(Wrap)
461461 $ ret
462462
463463 $ func (D:: $Wrap ,k:: Integer ) = $ func (D. op,k)
464- $ func (A:: $Wrap ,i:: ApproxFunBase.Infinity ) = ∞ # $func(A.op,i) | see PR #42
464+ $ func (A:: $Wrap ,i:: ApproxFunBase.PosInfinity ) = ℵ₀ # $func(A.op,i) | see PR #42
465465 end
466466 end
467467
0 commit comments