Skip to content

Commit 2ec12a5

Browse files
committed
Dot: Don't print the type if we ask not to print the type
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
1 parent 5d86e47 commit 2ec12a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ttg/ttg/util/dot.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace ttg {
7272
if (count != in->get_index()) throw "ttg::Dot: lost count of ins";
7373
if (disable_type) {
7474
ttss << " <in" << count << ">"
75-
<< " " << escape(in->get_key_type_str()) << " " << escape(in->get_name());
75+
<< escape(in->get_name());
7676
} else {
7777
ttss << " <in" << count << ">"
7878
<< " " << escape("<" + in->get_key_type_str() + "," + in->get_value_type_str() + ">") << " "
@@ -97,7 +97,7 @@ namespace ttg {
9797
if (count != out->get_index()) throw "ttg::Dot: lost count of outs";
9898
if (disable_type) {
9999
ttss << " <out" << count << ">"
100-
<< " " << escape(out->get_key_type_str()) << " " << out->get_name();
100+
<< out->get_name();
101101
} else {
102102
ttss << " <out" << count << ">"
103103
<< " " << escape("<" + out->get_key_type_str() + "," + out->get_value_type_str() + ">") << " "

0 commit comments

Comments
 (0)