#6 Bug in coco_add_chart_data

None
closed
None
2014-08-12
2014-08-10
Harry Dankowicz
No

Possible bug in coco_add_chart_data, lines 52-56 in revision 2783. The conditionals below should be switched, I would think.

if iscell(data)
cfunc = struct('identifier', cdid, 'F', cp_han, 'data', {data});
else
cfunc = struct('identifier', cdid, 'F', cp_han, 'data', data);
end

Discussion

  • Frank Schilder
    Frank Schilder
    2014-08-12

    I know how this looks, but it is not a bug. More info here.

     
    Last edit: Frank Schilder 2014-08-12
  • Frank Schilder
    Frank Schilder
    2014-08-12

    • status: open --> closed
    • assigned_to: Frank Schilder
    • Milestone: -->