Open aristotelis96 opened 1 year ago
I tracked it down to missing reference management on slice operations (which is what the right indexing of P_1K = P[0:N1, 0:K];
is doing).
Thanks for reporting this bug, @aristotelis96. I can also reproduce it. Unfortunately, I wasn't able to quickly find the cause, but following up on @corepointer's comment, I can confirm that the script works when calling daphne
with --no-obj-ref-mgnt
. Please shout out if this issue is blocking you.
In fact, this script used to work properly. We need to add test cases that check if the examples work at some point (see #559) to avoid breaking the examples again in the future...
According to readme file (
scripts/algorithms/README.md
),multiLogReg.daph
should work, however daphne returns the following error message:Lines 154-156 seem to affect
P
matrix during the second iteration, causing issues when assigningP_1K
.Added
print
to lines 157 and 293 to help demonstrate the error:Output: