comparison liboctave/numeric/dbleQR.cc @ 21191:8e317ce26a24

unconditionally define warn_qrupdate_once * base-qr.h (warn_qrupdate_once): Declare unconditionally. * dbleQR.cc (warn_qrupdate_once): Define unconditionally.
author John W. Eaton <jwe@octave.org>
date Thu, 04 Feb 2016 03:04:07 -0500
parents 7cac4e7458f2
children f7121e111991
comparison
equal deleted inserted replaced
21190:342764537e5a 21191:8e317ce26a24
672 (*current_liboctave_error_handler) ("qrshift: index out of range"); 672 (*current_liboctave_error_handler) ("qrshift: index out of range");
673 673
674 init (::shift_cols (q*r, i, j), get_type ()); 674 init (::shift_cols (q*r, i, j), get_type ());
675 } 675 }
676 676
677 void warn_qrupdate_once (void) 677 #endif
678
679 void
680 warn_qrupdate_once (void)
678 { 681 {
679 static bool warned = false; 682 static bool warned = false;
683
680 if (! warned) 684 if (! warned)
681 { 685 {
682 (*current_liboctave_warning_with_id_handler) 686 (*current_liboctave_warning_with_id_handler)
683 ("Octave:missing-dependency", 687 ("Octave:missing-dependency",
684 "In this version of Octave, QR & Cholesky updating routines " 688 "In this version of Octave, QR & Cholesky updating routines "
687 "See <http://sourceforge.net/projects/qrupdate>."); 691 "See <http://sourceforge.net/projects/qrupdate>.");
688 692
689 warned = true; 693 warned = true;
690 } 694 }
691 } 695 }
692
693 #endif