<NabanitaDash[m]>
<zoq[m]> "Why should it through `bad_alloc..." <- I want to get an exception if empty matrix is used in pre process split function. So, I think the correct exception should be ``bad_length_error``.
rcurtin_matrixor has quit [Quit: You have been kicked for being idle]
jonathanplatkiew has quit [Quit: You have been kicked for being idle]
_slack_mlpack_22 has quit [Quit: You have been kicked for being idle]
jjb[m] has quit [Quit: You have been kicked for being idle]
080AAGYYY has quit [Quit: You have been kicked for being idle]
<zoq[m]>
<NabanitaDash[m]> "I want to get an exception if..." <- But instantiating an empty matrix is valid, you could use `.is_empty()` and raise `bad_length_error`, maybe I'm missing something?