diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-11-11 17:36:39 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-11-11 17:36:39 +0100 |
commit | aedf3b34986ba96c08a2f8d480b10775b021f21f (patch) | |
tree | 2ea1bef52c212a4d4e98f63cde97dd8c4e7e857e /tests | |
parent | cc78e19aa9e6b7c8ec0e1e5ac26685e57406c69d (diff) | |
download | SystDigit-Projet-aedf3b34986ba96c08a2f8d480b10775b021f21f.tar.gz SystDigit-Projet-aedf3b34986ba96c08a2f8d480b10775b021f21f.zip |
Corrected a stupid bug.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/clock2.mj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/clock2.mj b/tests/clock2.mj index 50a0308..6f28603 100644 --- a/tests/clock2.mj +++ b/tests/clock2.mj @@ -89,7 +89,7 @@ main() = (sec_u:[4],d7_sec_u:[7],sec_d:[4],d7_sec_d:[7], min_d = count_minc . 0; d7_min_d = dec7(min_d); - (v_hour_u, aug_houru) = count_mod<4, 10>(keep_hour_u, 1); + (v_hour_u, aug_houru) = count_mod<4, 10>(keep_hour_u, aug_hour); (v_hour_d, aug_hourd) = adder<2>(keep_hour_d, 0.0, aug_houru); next_day = (equal<4,4>(v_hour_u)) and (equal<2,2>(v_hour_d)); hour_u = and_each<4>(not next_day, v_hour_u); |