Skip to content

Commit 7b08f4c

Browse files
committed
don't reset array length and size fields on array_to_string
1 parent 5308c26 commit 7b08f4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/array.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ JL_DLLEXPORT jl_value_t *jl_array_to_string(jl_array_t *a)
481481
}
482482
a->nrows = 0;
483483
a->length = 0;
484-
a->maxsize = 0;
485484
return jl_pchar_to_string((const char*)jl_array_data(a), len);
486485
}
487486

0 commit comments

Comments
 (0)