Fix return value in single dimention case

Signed-off-by: Mark Hymers <mark.hymers@ynic.york.ac.uk>
1 job for 2-fix-durbin-watson-tests in 14 minutes and 15 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build Test
passed #1627
build_test

00:14:15