Permalink
Browse files

typo in polyval caught by Jeffrey Sarnoff

  • Loading branch information...
1 parent 2c0254a commit d6d0fee3d01676a10f9dc80a976e56ad7a256312 @vtjnash vtjnash committed Jun 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 extras/poly.jl
View
@@ -187,7 +187,7 @@ end
function polyval(p::Polynomial, x::AbstractVector)
y = zeros(size(x))
for i = 1:length(x)
- y[i] = polyval(a, x[i])
+ y[i] = polyval(p, x[i])
end
return y
end

0 comments on commit d6d0fee

Please sign in to comment.