From 2f2af91730d41506dc8c61e9158dfd2572f62018 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 1 Oct 2020 19:15:04 -0700 Subject: [PATCH] hoon: use +dvr instead of +div/+mod in |co helpers --- pkg/arvo/sys/hoon.hoon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/sys/hoon.hoon b/pkg/arvo/sys/hoon.hoon index 3a5508641..2ddef0992 100644 --- a/pkg/arvo/sys/hoon.hoon +++ b/pkg/arvo/sys/hoon.hoon @@ -6027,7 +6027,7 @@ ^- tape ?: &(=(0 hol) =(0 min)) rep - =+ [rad=(mod hol bas) dar=(div hol bas)] + =/ [dar=@ rad=@] (dvr hol bas) %= $ min ?:(=(0 min) 0 (dec min)) hol dar @@ -6041,7 +6041,7 @@ ^- {tape @} ?: &(=(0 hol) =(0 min)) [rep cou] - =+ [rad=(mod hol bas) dar=(div hol bas)] + =/ [dar=@ rad=@] (dvr hol bas) %= $ min ?:(=(0 min) 0 (dec min)) hol dar