[gnumeric] long double: gnm_accumulator_clear



commit b87c68790fa8b2a749907df7ac51b108c2f17b7e
Author: Morten Welinder <terra gnome org>
Date:   Thu Feb 3 18:12:30 2022 -0500

    long double: gnm_accumulator_clear

 src/mathfunc.c | 2 +-
 src/numbers.h  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/mathfunc.c b/src/mathfunc.c
index af2a05d81..c723333d7 100644
--- a/src/mathfunc.c
+++ b/src/mathfunc.c
@@ -5349,7 +5349,7 @@ gnm_matrix_multiply (GnmMatrix *C, const GnmMatrix *A, const GnmMatrix *B)
 
        for (r = 0; r < C->rows; r++) {
                for (c = 0; c < C->cols; c++) {
-                       go_accumulator_clear (acc);
+                       gnm_accumulator_clear (acc);
                        for (i = 0; i < A->cols; ++i) {
                                GnmQuad p;
                                gnm_quad_mul12 (&p,
diff --git a/src/numbers.h b/src/numbers.h
index 7e31fa3c0..094d76883 100644
--- a/src/numbers.h
+++ b/src/numbers.h
@@ -140,6 +140,7 @@ typedef long double gnm_float;
 #define GnmAccumulator GOAccumulatorl
 #define gnm_accumulator_start go_accumulator_startl
 #define gnm_accumulator_end go_accumulator_endl
+#define gnm_accumulator_clear go_accumulator_clearl
 #define gnm_accumulator_new go_accumulator_newl
 #define gnm_accumulator_free go_accumulator_freel
 #define gnm_accumulator_add go_accumulator_addl
@@ -258,6 +259,7 @@ typedef double gnm_float;
 #define GnmAccumulator GOAccumulator
 #define gnm_accumulator_start go_accumulator_start
 #define gnm_accumulator_end go_accumulator_end
+#define gnm_accumulator_clear go_accumulator_clear
 #define gnm_accumulator_new go_accumulator_new
 #define gnm_accumulator_free go_accumulator_free
 #define gnm_accumulator_add go_accumulator_add


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]