Skip to content

Commit

Permalink
fix: pp projection indices starting at 1
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 authored and leodemoura committed Oct 15, 2023
1 parent 3e79ddd commit c0b021e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ struct print_expr_fn {
break;
case expr_kind::Proj:
print_child(proj_expr(a));
out() << "." << proj_idx(a).to_mpz();
out() << "." << proj_idx(a).to_mpz() + 1;
break;
case expr_kind::BVar:
out() << "#" << bvar_idx(a);
Expand Down

0 comments on commit c0b021e

Please sign in to comment.