changeset 21056:d48fdf3a8c0c

maint: one more addition to cset 5e00ed38a58b. * CollocWt.cc: Replace if/error/else paradigm with just if/error.
author Rik <rik@octave.org>
date Wed, 13 Jan 2016 11:04:53 -0800
parents 5e00ed38a58b
children b0afe1993268
files liboctave/numeric/CollocWt.cc
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/numeric/CollocWt.cc	Wed Jan 13 11:02:22 2016 -0800
+++ b/liboctave/numeric/CollocWt.cc	Wed Jan 13 11:04:53 2016 -0800
@@ -441,10 +441,7 @@
   // Compute roots.
 
   if (! jcobi (n, inc_left, inc_right, Alpha, Beta, pdif1, pdif2, pdif3, pr))
-    {
-      error ("jcobi: newton iteration failed");
-      return;
-    }
+    error ("jcobi: newton iteration failed");
 
   octave_idx_type id;