- edited description
ICalico Crashes when Returning 2D arrays
Issue #167
resolved
In Python:
import System
System.Array.CreateInstance(float, 2, 2)
In F#:
Array2D.create 2 2 ""
Comments (5)
-
reporter -
The output in console gives the culprit, bad Calico.Repr() :
Unhandled Exception: System.ArgumentException: Array was not a one-dimensional array. at System.Array.GetValue (Int32 index) [0x00000] in <filename unknown>:0 at Calico.MainWindow.ArrayTypeToString (System.Array args) [0x00000] in <filename unknown>:0 at Calico.MainWindow.Repr (System.Object obj) [0x00000] in <filename unknown>:0
Need to make that a bit more robust, and handle 2D arrays.
-
-
assigned issue to
-
assigned issue to
-
Band-aid applied: "<Multidimensional array, rank=2>"
Need to use Repr in GUI, and need to make Repr safe (recursively) and handle Arrays.
-
- changed status to resolved
Bandaid for now.
- Log in to comment