diff libinterp/corefcn/quad.cc @ 26356:768945ca2ff2 stable

quad.cc: Fix static analyzer detected issues (bug #55347). * quad.cc (Fquad): Call args(4).xvector_value() rather than incorrect version without prepended 'x'.
author Rik <rik@octave.org>
date Tue, 01 Jan 2019 21:13:34 -0800
parents cb1606f78f6b
children 00f796120a6d
line wrap: on
line diff
--- a/libinterp/corefcn/quad.cc	Tue Jan 01 21:12:24 2019 -0800
+++ b/libinterp/corefcn/quad.cc	Tue Jan 01 21:13:34 2019 -0800
@@ -344,7 +344,7 @@
 
           have_sing = true;
 
-          sing = args(4).vector_value ("quad: fifth argument SING must be a vector of singularities");
+          sing = args(4).xvector_value ("quad: fifth argument SING must be a vector of singularities");
           OCTAVE_FALLTHROUGH;
 
         case 4: