Skip to content

Commit

Permalink
fix typo in a lax error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjj committed Feb 23, 2019
1 parent 8a2fd90 commit 12ed52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/lax.py
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ def _broadcast_in_dim_shape_rule(operand, shape, broadcast_dimensions):
broadcast_dimensions)
if operand.ndim != len(broadcast_dimensions):
msg = ('broadcast_in_dim broadcast_dimensions must have length equal to '
'operand ndim, got broadcast_dimensions for operand ndim {}.')
'operand ndim, got broadcast_dimensions {} for operand ndim {}.')
raise TypeError(msg.format(broadcast_dimensions, operand.ndim))
if not set(broadcast_dimensions).issubset(set(range(len(shape)))):
msg = ('broadcast_in_dim broadcast_dimensions must be a subset of output '
Expand Down

0 comments on commit 12ed52e

Please sign in to comment.