[latex3-commits] [latex3/latex3] main: Revert "Use `\fp_set_eq:NN` when setting fp var to one" (095d79a49)

github at latex-project.org github at latex-project.org
Tue Mar 5 09:24:19 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/095d79a49a4e17023ab4f266d70c36a2c43b0568

>---------------------------------------------------------------

commit 095d79a49a4e17023ab4f266d70c36a2c43b0568
Author: Joseph Wright <joseph at texdev.net>
Date:   Tue Mar 5 08:24:19 2024 +0000

    Revert "Use `\fp_set_eq:NN` when setting fp var to one"
    
    This reverts commit 0052df450810737502e4a4424fd5cf9e415d192d.


>---------------------------------------------------------------

095d79a49a4e17023ab4f266d70c36a2c43b0568
 l3experimental/l3draw/l3draw-transforms.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-transforms.dtx b/l3experimental/l3draw/l3draw-transforms.dtx
index 613dbb778..d9f72931a 100644
--- a/l3experimental/l3draw/l3draw-transforms.dtx
+++ b/l3experimental/l3draw/l3draw-transforms.dtx
@@ -110,10 +110,10 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \draw_transform_matrix_reset:
   {
-    \fp_set_eq:NN \l_@@_matrix_a_fp \c_one_fp
+    \fp_set:Nn \l_@@_matrix_a_fp { 1 }
     \fp_zero:N \l_@@_matrix_b_fp
     \fp_zero:N \l_@@_matrix_c_fp
-    \fp_set_eq:NN \l_@@_matrix_d_fp \c_one_fp
+    \fp_set:Nn \l_@@_matrix_d_fp { 1 }
     \bool_set_false:N \l_@@_matrix_active_bool
   }
 \cs_new_protected:Npn \draw_transform_shift_reset:





More information about the latex3-commits mailing list.