mginesi / dmp_pp

Implementation of DMP in Python 3.5
53 stars 12 forks source link

In derivative_metrices.py #3

Closed stepakar closed 1 year ago

stepakar commented 1 year ago

On the line 54, I had to make the following change: D2 = sparse.diags((np.array(d2_p), np.array(d2_c), np.array(d2_m)), [1, 0, -1]).toarray()

mginesi commented 1 year ago

on python 3.10.12 gives a warning as the syntax used will be deprecated. Solved in commit 71ee426