emer / etable

Data table structure in Go, now developed at https://github.com/cogentcore/core/tree/main/tensor
BSD 3-Clause "New" or "Revised" License
115 stars 7 forks source link

etensor.SetNumRows does not grow Nulls array #25

Closed apmon closed 4 years ago

apmon commented 4 years ago

It looks like if you call SetNumRows to expand the size of a tensor (Float32) that already contains a null and thus has the Nulls array initialized, it does not extend the Nulls array and thus has the potential to crash if calling SetNull1D on those later elements.