Skip to content

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Aug 27, 2018
1 parent 3d36c71 commit 56b526d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fault/test_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ def generate_simulator_test_vectors(circuit, input_ranges=None,
for i, (name, port) in enumerate(circuit.IO.items()):
if port.isoutput():
val = simulator.get_value(getattr(circuit, name))
if isinstance(port, ArrayKind) and not isinstance(port, (BitsKind, SIntKind, UIntKind)):
if isinstance(port, ArrayKind) and \
not isinstance(port, (BitsKind, SIntKind, UIntKind)):
val = BitVector(val)
testv[1].append(val)

Expand Down

0 comments on commit 56b526d

Please sign in to comment.