Skip to content

Change in PDL::IO::FlexRaw of type breaks code #544

@fantasma13

Description

@fantasma13

Using FlexRaw used to work like this:
$x=readflex('foo',[{Type=>'cfloat',Dims=>[16,16],}]);

in PDL 2.100 (pulled in by cpnanm), this now requires

$x=readflex('foo',[{Type=>cfloat->enum,Dims=>[16,16],}]);

This change breaks existing code and is more cumbersome to write headers on the fly. The new syntax seems to work on older versions, I've tried it on 2.079.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions