Skip to content

code_gen julia bug #47

@jarlebring

Description

@jarlebring

Bug

julia> gen_code("/tmp/bla.jl",graph,lang=LangJulia(false));
julia> include("/tmp/bla.jl")
julia> A=[3 4.0; 5.5 0.1];
julia> dummy(A)
ERROR: UndefRefError: access to undefined reference
Stacktrace:
 [1] getindex
   @ ./array.jl:835 [inlined]
 [2] dummy(A::Matrix{Float64})
   @ Main /tmp/bla.jl:22
 [3] top-level scope
   @ REPL[10]:1

It has something to do with precomputed nodes.

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