Skip to content

Commit

Permalink
Fix documentation bug #100
Browse files Browse the repository at this point in the history
  • Loading branch information
mwshinn committed Jun 19, 2024
1 parent 9a7eb9d commit cf1eb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/cookbook/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The model is then::
if current_fixation == 1:
return d * (value - price * theta)
else:
return d * (price - value * theta)
return -d * (price - value * theta)
m = pyddm.gddm(drift=drift_func, noise=.1, bound="b", nondecision="tnd", mixture_coef=.02,
parameters={"d": (0, 2), "theta": (0, 1), "b": (.5, 2), "tnd": (0, .5)},
conditions=["value", "price", "fixation"])
Expand Down

0 comments on commit cf1eb2d

Please sign in to comment.