niessner / Opt

Opt DSL
Other
254 stars 68 forks source link

Support for Computed array using precomputed graph #127

Closed eshafeeqe closed 6 years ago

eshafeeqe commented 6 years ago

I tried to make a computed array from a graph got the following error

o.t:1026: NYI - support for precomputed graphs
stack traceback:
    [C]: in function 'assert'
    o.t:1026: in function 'fn'
    ad.t:510: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ...
    ad.t:513: in function 'visit'
    ad.t:513: in function 'visit'
    ad.t:516: in function 'visit'
    o.t:1024: in function 'ComputedImage'
    o.t:1017: in function 'ComputedArray'
    ../MeshDeformationED.t:68: in function 'file'
    o.t:848: in function 'problemSpecFromFile'
    o.t:868: in function <o.t:862>
    [C]: in function 'xpcall'
    o.t:862: in function <o.t:861>

May be its not yet implemented and being in the pipeline for the future, In that case I am happy to provide the test case for testing the implementation.

Mx7f commented 6 years ago

That is exactly the case yes. Would be happy to have more test cases.

eshafeeqe commented 6 years ago

Thanks a lot @Mx7f for fixing this. I will test it with my test case soon.