Diff of /Special/Special.pm [a38812] .. [f455c7] Maximize Restore

  Switch to side-by-side view

--- a/Special/Special.pm
+++ b/Special/Special.pm
@@ -304,7 +304,7 @@
 		require PDL::Stat::Distributions;
 		$mat = xvals($m);
 		if ($n > 1){
-			return PDL::Stat::Distributions::choose($mat + $mat->dummy(0),$mat);		
+			return PDL::Stat::Distributions::choose($mat + $mat->dummy(0),$mat)[0];		
 		}
 		else{
 			$mat = PDL::Stat::Distributions::choose($mat,$mat->dummy(0));