flatten indentation where it makes sense
This commit is contained in:
parent
9d5b1ef5e6
commit
39d9b88fa4
10 changed files with 22 additions and 25 deletions
|
|
@ -101,8 +101,7 @@ class Grid(Repetition):
|
|||
if b_vector is None:
|
||||
if b_count > 1:
|
||||
raise PatternError('Repetition has b_count > 1 but no b_vector')
|
||||
else:
|
||||
b_vector = numpy.array([0.0, 0.0])
|
||||
b_vector = numpy.array([0.0, 0.0])
|
||||
|
||||
if a_count < 1:
|
||||
raise PatternError(f'Repetition has too-small a_count: {a_count}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue