Skip to content

Commit

Permalink
Update src/autora/state.py
Browse files Browse the repository at this point in the history
Co-authored-by: benwandrew <[email protected]>
  • Loading branch information
younesStrittmatter and benwandrew authored Aug 30, 2023
1 parent adabb4a commit b0db240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autora/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ def combined_functions_on_state(
... return Delta(conditions=[el-dec for el in conditions])
>>> def increment(conditions, inc):
... return Delta(conditions=[el+inc for el in conditions])
>>> dec_and_ind = combined_functions_on_state(
>>> dec_and_inc = combined_functions_on_state(
... [('decrement', decrement), ('increment', increment)])
>>> s_dec_and_inc = dec_and_ind(
... s, params={'decrement': {'dec': 10}, 'increment': {'inc': 2}})
Expand Down

0 comments on commit b0db240

Please sign in to comment.