Skip to content

Commit cc0ce0e

Browse files
committed
Avoids prev error thrown by view()
1 parent 6115c58 commit cc0ce0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/runtests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ function paduaeval(f::Function,x::AbstractFloat,y::AbstractFloat,m::Integer)
253253
plan=plan_paduatransform(pvals)
254254
coeffs=paduatransform(plan,pvals)
255255
cfs_mat=trianglecfsmat(coeffs)
256-
cfs_mat=view(cfs_mat,1:m+1,:)
257256
f_x=sum([cfs_mat[k,j]*cos((j-1)*acos(x))*cos((k-1)*acos(y)) for k=1:m+1, j=1:m+1])
258257
return f_x
259258
end

0 commit comments

Comments
 (0)