Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 21, 2024
1 parent 077d745 commit 24f45ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hvm.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,11 @@ __device__ void pretty_print_port(Net* net, Port port) {
break;
}
case ERA: {
printf("%c", ((char)get_val(cur)) || '*');
if (get_val(cur) != 0) {
printf("%c", (char)get_val(cur));
} else {
printf("*");
}
break;
}
case VAR: {
Expand Down

0 comments on commit 24f45ee

Please sign in to comment.