Skip to content

Commit

Permalink
Typo: deprication -> deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Delalleau committed Jan 25, 2012
1 parent d9c41f5 commit c0d9750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions theano/sandbox/scan_module/scan_utils.py
Expand Up @@ -110,7 +110,7 @@ def is_condition(elem):
raise ValueError(('Scan can not parse the return value'
' of your constructive function given to scan'))
ls = list(ls)
deprication_msg = ('The return value of the lambda function'
deprecation_msg = ('The return value of the lambda function'
' has been restricted. you have to always return first the'
' outputs (if any), afterwards the updates (if any) and'
' at the end the condition')
Expand All @@ -126,7 +126,7 @@ def is_condition(elem):
raise ValueError(error_msg)
elif is_updates(ls[0]):
if is_outputs(ls[1]):
raise ValueError(deprication_msg)
raise ValueError(deprecation_msg)
elif is_condition(ls[1]):
return (ls[1].condition, [], dict(ls[0]))
else:
Expand Down
4 changes: 2 additions & 2 deletions theano/scan_module/scan_utils.py
Expand Up @@ -225,7 +225,7 @@ def filter(x):
if not isinstance(ls, (list, tuple)):
raise ValueError(error_msg)
ls = list(ls)
deprication_msg = ('The return value of the lambda function'
deprecation_msg = ('The return value of the lambda function'
' has been restricted. you have to always return first the'
' outputs (if any), afterwards the updates (if any) and'
' at the end the conclusion')
Expand All @@ -239,7 +239,7 @@ def filter(x):
raise ValueError(error_msg)
elif is_updates(ls[0]):
if is_outputs(ls[1]):
raise ValueError(deprication_msg)
raise ValueError(deprecation_msg)
elif is_condition(ls[1]):
return (ls[1].condition, [], dict(ls[0]))
else:
Expand Down

0 comments on commit c0d9750

Please sign in to comment.