We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7d16e commit df3cbceCopy full SHA for df3cbce
lib/bald/validation.py
@@ -183,11 +183,11 @@ def check_array_references(self, exceptions):
183
if hasattr(self.array, 'bald__shape') and self.array.bald__shape:
184
parray = np.zeros(self.array.bald__shape)
185
for bald_array in self.array.array_references:
186
- parraysubj = 'p'
187
- carraysubj = 'c'
+ parraysubj = self.array.identity
188
carray = None
189
if hasattr(bald_array, 'bald__shape') and bald_array.bald__shape:
190
carray = np.zeros(bald_array.bald__shape)
+ carraysubj = bald_array.identity
191
if not valid_array_reference(parray, carray):
192
msg = ('{} declares a child of {} but the arrays '
193
'do not conform to the bald array reference '
0 commit comments