fix paren bug

This commit is contained in:
polos 2021-11-05 13:42:08 +01:00
parent 9738cdad85
commit 82c209a469

View file

@ -44,9 +44,9 @@
(flet ((str (x)
(format nil "~:D" x)))
(x:when-it (funcall-protect (lambda (x) (float x *precision*)) n)
(|setText| *float* (princ-to-string x:it)
(|setText| *float* (princ-to-string x:it))
#+darwin
(|repaint| *float*)))
(|repaint| *float*))
(let* ((num (str (numerator n)))
(den (str (denominator n)))
(dif (- (length den) (length num))))