diff libinterp/corefcn/qz.cc @ 22860:0b1e25cc4457

eliminate use of OCTAVE_QUIT macro in C++ sources * __dsearchn__.cc, __magick_read__.cc, filter.cc, find.cc, graphics.cc, quadcc.cc, qz.cc, tsearch.cc audiodevinfo.cc, symrcm.cc, op-int.h, lo-regexp.cc: Use inline octave_quit function instead of OCTAVE_QUIT macro.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Dec 2016 07:12:10 -0500
parents 3a2b891d0b33
children 0c12642be005
line wrap: on
line diff
--- a/libinterp/corefcn/qz.cc	Fri Dec 02 13:49:53 2016 -0500
+++ b/libinterp/corefcn/qz.cc	Sat Dec 03 07:12:10 2016 -0500
@@ -354,7 +354,8 @@
     for (octave_idx_type ii = 0; ii < nn; ii++)
       for (octave_idx_type jj = 0; jj < nn; jj++)
         {
-          OCTAVE_QUIT;
+          octave_quit ();
+
           QQ(ii,jj) = ZZ(ii,jj) = (ii == jj ? 1.0 : 0.0);
         }
 
@@ -924,7 +925,7 @@
 
           while (jj < nn)
             {
-              OCTAVE_QUIT;
+              octave_quit ();
 
               // See if real or complex eigenvalue.