diff --git a/pyyeti/nastran/op4.py b/pyyeti/nastran/op4.py index 11bce1b..8940ba8 100644 --- a/pyyeti/nastran/op4.py +++ b/pyyeti/nastran/op4.py @@ -383,7 +383,7 @@ def _put_ascii_values_sparse_c(X, r, c, s, L, numlen): @staticmethod def _sparse_matrix(rows, cols, X): I, J, V = X - return sp.coo_matrix((V, (I, J)), shape=(rows, cols)) + return sp.coo_matrix((np.array(V), (I, J)), shape=(rows, cols)) def _rd_dense_ascii( self, wper, r, c, rows, cols, line, numlen, perline, linelen, funcs