Skip to content

loadjson: complex value was replaced by its conjugate #83

@oldoldstone

Description

@oldoldstone

example

>> dat=loadjson('{"array":[1,2,3-4i]}')
dat = 
  array: [1.0000 + 0.0000i 2.0000 + 0.0000i 3.0000 + 4.0000i]

maybe caused by this code

loadjson.m, row 410
if(~iscell(object) && size(object,1)>1 && ndims(object)==2)
   object=object';
end

should be
object=object.';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions