Skip to content

Commit

Permalink
added vim swap files to .gitignore, removed disp parameter duplicatio…
Browse files Browse the repository at this point in the history
…n in starting.py
  • Loading branch information
tknuth committed May 24, 2016
1 parent 58e999f commit 975fb72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.pyc
*.sw[op]
examples/*.png
build/*
dist/*
Expand All @@ -16,4 +17,4 @@ tags
_build

# Merge tool
*.orig
*.orig
4 changes: 2 additions & 2 deletions pymc3/tuning/starting.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def grad_logp_o(point):
# Check to see if minimization function actually uses the gradient
if 'fprime' in getargspec(fmin).args:
r = fmin(logp_o, bij.map(
start), fprime=grad_logp_o, disp=disp, *args, **kwargs)
start), fprime=grad_logp_o, *args, **kwargs)
else:
r = fmin(logp_o, bij.map(start), disp=disp, *args, **kwargs)
r = fmin(logp_o, bij.map(start), *args, **kwargs)

if isinstance(r, tuple):
mx0 = r[0]
Expand Down

0 comments on commit 975fb72

Please sign in to comment.