octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64156] [octave forge] (signal) xcov()-Functio


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #64156] [octave forge] (signal) xcov()-Function failed
Date: Sun, 7 May 2023 08:17:58 -0400 (EDT)

Follow-up Comment #4, bug #64156 (project octave):

How about:


diff -r 06f9730ac1dc inst/xcorr.m
--- a/inst/xcorr.m      Tue Apr 25 07:53:17 2023 -0400
+++ b/inst/xcorr.m      Sun May 07 08:16:23 2023 -0400
@@ -161,6 +161,8 @@
       endif
     elseif idx == 1
       Y = arg;
+    elseif idx <= 3 && isempty(arg)
+      # default value for idx 2+
     else
       error ("xcorr: unknown optional input variable at position %d", idx);
     endif




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64156>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]