Permalink
Browse files

Fixed typo.

  • Loading branch information...
teoliphant committed Mar 10, 2004
1 parent e881711 commit 19314b480bb5aa9c9df6e44d3dad6a778b6d183b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lib/optimize/optimize.py
View
@@ -781,7 +781,7 @@ def fmin_ncg(f, x0, fprime, fhess_p=None, fhess=None, args=(), avextol=1e-5,
while Num.add.reduce(abs(ri)) > termcond:
if fhess is None:
if fhess_p is None:
- Ap = apply(approx_fhess_p,(xk,psupi,fprime,espilon)+args)
+ Ap = apply(approx_fhess_p,(xk,psupi,fprime,epsilon)+args)
gcalls = gcalls + 2
else:
Ap = apply(fhess_p,(xk,psupi)+args)

0 comments on commit 19314b4

Please sign in to comment.