Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Commit 5cf520a

Browse files
AnjuJoonjstac
authored andcommitted
some changes missed for pep8 convention in von_neuman_model (#686)
1 parent ca83111 commit 5cf520a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/rst/von_neumann_model.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ The code below provides the ``Neumann`` class
9393
self.m, self.n = self.A.shape
9494
9595
# Check if (A, B) satisfy the basic assumptions
96-
assert self.A.shape == self.B.shape, 'The input and output matrices must have the same dimensions!'
97-
assert (self.A >= 0).all() and (self.B >= 0).all(), 'The input and output matrices must have only non-negative entries!'
96+
assert self.A.shape == self.B.shape, 'The input and output matrices \
97+
must have the same dimensions!'
98+
assert (self.A >= 0).all() and (self.B >= 0).all(), 'The input and \
99+
output matrices must have only non-negative entries!'
98100
99101
# (1) Check whether Assumption I is satisfied:
100102
if (np.sum(B, 0) <= 0).any():

0 commit comments

Comments
 (0)