You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a small bit of code that gets compiled incorrectly to c. A sample is:
def unlist():
lst = [1,2]
lst,m = lst
The translated c-code from this will produce an Unindexable exception. This
results from the fact that the variable "lst" is bound to the first element
of the list (the integer 1) before the second element is extracted
from "lst". Hence it tries to unpack from the integer rather than the list.
I found a small bit of code that gets compiled incorrectly to c. A sample is:
The translated c-code from this will produce an Unindexable exception. This
results from the fact that the variable "lst" is bound to the first element
of the list (the integer 1) before the second element is extracted
from "lst". Hence it tries to unpack from the integer rather than the list.
Component: interfaces
Issue created by migration from https://trac.sagemath.org/ticket/187
The text was updated successfully, but these errors were encountered: