Mercurial > octave
comparison liboctave/numeric/CollocWt.cc @ 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 | f7121e111991 |
comparison
equal
deleted
inserted
replaced
21055:5e00ed38a58b | 21056:d48fdf3a8c0c |
---|---|
439 double *pr = r.fortran_vec (); | 439 double *pr = r.fortran_vec (); |
440 | 440 |
441 // Compute roots. | 441 // Compute roots. |
442 | 442 |
443 if (! jcobi (n, inc_left, inc_right, Alpha, Beta, pdif1, pdif2, pdif3, pr)) | 443 if (! jcobi (n, inc_left, inc_right, Alpha, Beta, pdif1, pdif2, pdif3, pr)) |
444 { | 444 error ("jcobi: newton iteration failed"); |
445 error ("jcobi: newton iteration failed"); | |
446 return; | |
447 } | |
448 | 445 |
449 octave_idx_type id; | 446 octave_idx_type id; |
450 | 447 |
451 // First derivative weights. | 448 // First derivative weights. |
452 | 449 |