Skip to content

Commit df3cbce

Browse files
committed
validation report
1 parent 0f7d16e commit df3cbce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bald/validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ def check_array_references(self, exceptions):
183183
if hasattr(self.array, 'bald__shape') and self.array.bald__shape:
184184
parray = np.zeros(self.array.bald__shape)
185185
for bald_array in self.array.array_references:
186-
parraysubj = 'p'
187-
carraysubj = 'c'
186+
parraysubj = self.array.identity
188187
carray = None
189188
if hasattr(bald_array, 'bald__shape') and bald_array.bald__shape:
190189
carray = np.zeros(bald_array.bald__shape)
190+
carraysubj = bald_array.identity
191191
if not valid_array_reference(parray, carray):
192192
msg = ('{} declares a child of {} but the arrays '
193193
'do not conform to the bald array reference '

0 commit comments

Comments
 (0)