Changed function from np.squeeze to np.flatten while checking the variable transformation; np.squeeze removed the dimension when not needed, indeed in the case of 1d dim was giving a scalar result, not a vector.
Moved optional dependencies to the dev environment.
Fixed pytest warnings caused by the numpy deprecation warning.
np.squeeze
tonp.flatten
while checking the variable transformation;np.squeeze
removed the dimension when not needed, indeed in the case of 1d dim was giving a scalar result, not a vector.