wmacnair/psupertime

fix change in as.matrix

Opened this issue · 0 comments

from R 4.0.0 onwards, we need to use
inherits(matrix_obj, "matrix")
to check that x is a matrix, instead of
class(matrix_obj) == "matrix"