linspace: Fix thinko with .expect() and fix linspace for n == 0