@@ -61,7 +61,7 @@ import Base: convert, getindex, eltype, <, <=, +, -, *, /, ^, ==,
6161 minimum, maximum, extrema, zeros, one, promote_rule,
6262 getproperty, real, imag, max, min, log, acos,
6363 sin, cos, asinh, acosh, atanh, ones,
64- Matrix
64+ Matrix, size
6565 # atan, tan, tanh, asin, sec, sinh, cosh,
6666 # split
6767
@@ -106,8 +106,8 @@ function ShiftedChebyshevGrid(grid::G, shift::S, scale::S) where {G,S}
106106 T = typeof (zero (eltype (G)) * zero (S))
107107 ShiftedChebyshevGrid {T,S,G} (grid, shift, scale)
108108end
109- Base . size (S:: ShiftedChebyshevGrid ) = size (S. grid)
110- Base. @propagate_inbounds Base . getindex (S:: ShiftedChebyshevGrid , i:: Int ) = S. shift + S. grid[i] * S. scale
109+ size (S:: ShiftedChebyshevGrid ) = size (S. grid)
110+ Base. @propagate_inbounds getindex (S:: ShiftedChebyshevGrid , i:: Int ) = S. shift + S. grid[i] * S. scale
111111function Base. showarg (io:: IO , S:: ShiftedChebyshevGrid , toplevel:: Bool )
112112 print (io, " ShiftedChebyshevGrid{" , eltype (S), " }" )
113113end
0 commit comments