From 59f7d47101de161ebc295f14e7ce6dd641418c11 Mon Sep 17 00:00:00 2001 From: Walter Perdan Date: Sat, 9 Nov 2024 19:26:57 +0100 Subject: [PATCH] solved CI issue --- src/jsfeatNext.ts | 48 ++++++++++++++++++++-------------------- src/matrix_t/matrix_t.ts | 16 +++++++------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/jsfeatNext.ts b/src/jsfeatNext.ts index 0f603f7..ac27639 100644 --- a/src/jsfeatNext.ts +++ b/src/jsfeatNext.ts @@ -2162,13 +2162,13 @@ jsfeatNext.math = class math extends jsfeatNext { ? cmp(tb, tc) ? b : cmp(ta, tc) - ? c - : a + ? c + : a : cmp(tc, tb) - ? b - : cmp(ta, tc) - ? a - : c; + ? b + : cmp(ta, tc) + ? a + : c; (a = pivot - d), (b = pivot), (c = pivot + d); (ta = array[a]), (tb = array[b]), (tc = array[c]); @@ -2176,13 +2176,13 @@ jsfeatNext.math = class math extends jsfeatNext { ? cmp(tb, tc) ? b : cmp(ta, tc) - ? c - : a + ? c + : a : cmp(tc, tb) - ? b - : cmp(ta, tc) - ? a - : c; + ? b + : cmp(ta, tc) + ? a + : c; (a = right - (d << 1)), (b = right - d), (c = right); (ta = array[a]), (tb = array[b]), (tc = array[c]); @@ -2190,13 +2190,13 @@ jsfeatNext.math = class math extends jsfeatNext { ? cmp(tb, tc) ? b : cmp(ta, tc) - ? c - : a + ? c + : a : cmp(tc, tb) - ? b - : cmp(ta, tc) - ? a - : c; + ? b + : cmp(ta, tc) + ? a + : c; } (a = left), (b = pivot), (c = right); @@ -2205,13 +2205,13 @@ jsfeatNext.math = class math extends jsfeatNext { ? cmp(tb, tc) ? b : cmp(ta, tc) - ? c - : a + ? c + : a : cmp(tc, tb) - ? b - : cmp(ta, tc) - ? a - : c; + ? b + : cmp(ta, tc) + ? a + : c; if (pivot != left0) { t = array[pivot]; array[pivot] = array[left0]; diff --git a/src/matrix_t/matrix_t.ts b/src/matrix_t/matrix_t.ts index 32f2f7a..01dd880 100644 --- a/src/matrix_t/matrix_t.ts +++ b/src/matrix_t/matrix_t.ts @@ -38,10 +38,10 @@ export class matrix_t implements IMatrix_T { this.type & JSFEAT_CONSTANTS.U8_t ? this.buffer.u8 : this.type & JSFEAT_CONSTANTS.S32_t - ? this.buffer.i32 - : this.type & JSFEAT_CONSTANTS.F32_t - ? this.buffer.f32 - : this.buffer.f64; + ? this.buffer.i32 + : this.type & JSFEAT_CONSTANTS.F32_t + ? this.buffer.f32 + : this.buffer.f64; } } @@ -55,10 +55,10 @@ export class matrix_t implements IMatrix_T { this.type & JSFEAT_CONSTANTS.U8_t ? this.buffer.u8 : this.type & JSFEAT_CONSTANTS.S32_t - ? this.buffer.i32 - : this.type & JSFEAT_CONSTANTS.F32_t - ? this.buffer.f32 - : this.buffer.f64; + ? this.buffer.i32 + : this.type & JSFEAT_CONSTANTS.F32_t + ? this.buffer.f32 + : this.buffer.f64; } copy_to(other: IMatrix_T): void {