[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50574] Single complex median error: no conver
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #50574] Single complex median error: no conversion for assignment |
Date: |
Sat, 18 Mar 2017 05:10:30 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #1, bug #50574 (project octave):
Strange. I have a really recent development version and see a problem here,
but it manifests a little differently:
octave:3> a=complex(1:3,1:3);
octave:4> median(a)
error: kth_element: complex argument not supported (yet).
error: called from
median at line 74 column 31
It looks like my median() comes from the nan package:
octave:4> type median
median is the user-defined function defined from:
/home/sebald/octave/nan-3.1.2/median.m
function [y]=median(x,DIM)
Where is your median originating from? I don't think there is a line #93 in
my version.
Your guess does make sense in a way, i.e., that there is some missing C++
conversion whose definition was overlooked. But check where median is coming
from and if it is an external file, check what line 93 is.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50574>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/