Skip to content

Array construction fails with row of doubles #8

@cbm755

Description

@cbm755
A = [sym(0) 1; sym(2) 3];
B = [sym(0) 1; 2 3];

A works but B fails on Octave 3.6.4 and 3.8.1 with:

error: octave_base_value::map_value(): wrong type argument 'scalar'
error: octave_base_value::parent_class_name_list(): wrong type argument 'scalar'

It works in Matlab, maybe an Octave bug?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions