Skip to content

wrong stitch type #8

@ixchow

Description

@ixchow

When running the example model and default constraints...

$ ./interface obj:tests/models/misc-cactus.obj load-constraints:tests/constraints/misc-cactus.cons obj-scale:10.0 stitch-width:3.66 stitch-height:1.73 save-traced:misc-cactus.st peel-step:-1

... I get an error from the scheduler about 'e' stitches with outgoing links:

$ ./schedule st:misc-cactus.st js:misc-cactus.js
ERROR: Stitch does not have proper in/out for type.
  line: '0 e a 1039 -1 1092 -1 3.41028 0.753821 3.9112'
ERROR: failed to load stitches from 'misc-cactus.st'.

Likely the problem is that make_stitch in ak-trace_graph.cpp needs to be more careful about setting stitch types; I'm not sure just yet how this is happening, though. A possible resolution would be to set stitch types later based on in/out counts.

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