Skip to content

Fix deprecation warnings in element-wise array comparison

Evan Goetz requested to merge evan-goetz/pydarm:element-cmp into master

There are deprecation warnings like

/builds/ethan.payne/pydarm/pydarm/actuation.py:594: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
  if np.atleast_1d(np.atleast_1d(frequencies) == np.atleast_1d(saved_freq_array)).all():

which this MR fixes

Merge request reports

Loading