incorrect ndarray indexing crashes compiler #466
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#466
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Same bug with
y = 2.0*x
andy = x @ np_array([[1.0, 0.0], [0.0, 1.0]])
This actually happens because of the incorrect indexing in the print_rpc call.
2D ndarray addition crashes compilerto incorrect ndarray indexing crashes compilerCrash happens when
nac3core
'sCodeGenerator
'ssize_t
is 32 bits - and doesn't whensize_t
is 64 bits - likely due to an oversight innac3core
.This type of error is very common in
nac3core
,like this one: #442.
PR later
#477 by derppening can fix this issue if it is the proper solution.
This is fixed by
693b2a8863
.Should this be closed? @sb10q
Yes, confirmed that it no longer crashes.