You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method Processing.Filtering.medianFilter1D() method returns the same array of sensor readings if the array is smaller than the filter window:
if(len<k)returnsensorReadings;
This is an edge case, but the method is supposed to return a new array of filtered values regardless. If the user's code expects to be able to augment the returned values without disrupting the original array, this could prove problematic. Method should return a newly created or deep copied array instead.
The text was updated successfully, but these errors were encountered:
The method
Processing.Filtering.medianFilter1D()
method returns the same array of sensor readings if the array is smaller than the filter window:This is an edge case, but the method is supposed to return a new array of filtered values regardless. If the user's code expects to be able to augment the returned values without disrupting the original array, this could prove problematic. Method should return a newly created or deep copied array instead.
The text was updated successfully, but these errors were encountered: