Skip to content

readdlm() cannot process empty file #9

Open
@innerlee

Description

  • julia ver: 0.4.5
  • os ver: win 10

reproduce:

julia> writedlm("emp.ty", [])
julia> readdlm("emp.ty")
ERROR: at row 0, column 0 : ArgumentError("number of rows in dims must be > 0, got 0")
 in error at error.jl:21

Is this behavior by design?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions