aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jade Philipoom <jadep@google.com>2018-02-21 10:13:48 +0100
committerGravatar Jason Gross <jasongross9@gmail.com>2018-02-23 13:06:33 -0500
commit691399b7c7c9f416f5247d421af1ce42f23cac94 (patch)
tree4d423f9f7e447b76dedf11cde8b11cbda108428e /src
parent2e972b36db6e2f425d36141750fda67ac9ae849f (diff)
fix leftover %RT
Diffstat (limited to 'src')
-rw-r--r--src/Experiments/SimplyTypedArithmetic.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Experiments/SimplyTypedArithmetic.v b/src/Experiments/SimplyTypedArithmetic.v
index 016e16cda..b9b731307 100644
--- a/src/Experiments/SimplyTypedArithmetic.v
+++ b/src/Experiments/SimplyTypedArithmetic.v
@@ -506,7 +506,7 @@ Module Columns.
| x :: tl =>
dlet rec := flatten_column tl in (* recursively get the sum and carry *)
dlet sum_carry := Z.add_get_carry_full fw x (fst rec) in (* add the new value to the sum *)
- dlet carry' := (snd sum_carry + snd rec)%RT in (* add the two carries together *)
+ dlet carry' := snd sum_carry + snd rec in (* add the two carries together *)
(fst sum_carry, carry')
end.
End flatten_column.