Skip to content

Commit 50868ca

Browse files
committed
GraphML witnesses: cyclehead is a node attribute
The witness linter enforces the spec spelled out in https://github.com/sosy-lab/sv-witnesses/blob/master/termination/README.md.
1 parent fbe0625 commit 50868ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xmllang/graphml.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,15 @@ bool write_graphml(const graphmlt &src, std::ostream &os)
305305
key.new_element("default").data="false";
306306
}
307307

308-
// <key attr.name="cyclehead" attr.type="boolean" for="edge"
308+
// <key attr.name="cyclehead" attr.type="boolean" for="node"
309309
// id="cyclehead">
310310
// <default>false</default>
311311
// </key>
312312
{
313313
xmlt &key = graphml.new_element("key");
314314
key.set_attribute("attr.name", "cyclehead");
315315
key.set_attribute("attr.type", "boolean");
316-
key.set_attribute("for", "edge");
316+
key.set_attribute("for", "node");
317317
key.set_attribute("id", "cyclehead");
318318

319319
key.new_element("default").data = "false";

0 commit comments

Comments
 (0)