Fix in depthLocal for 1D data