Skip to content

Commit

Permalink
solved CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Nov 9, 2024
1 parent 6e5adba commit 59f7d47
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
48 changes: 24 additions & 24 deletions src/jsfeatNext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2162,41 +2162,41 @@ 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]);
pivot = cmp(ta, tb)
? 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]);
right = cmp(ta, tb)
? 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);
Expand All @@ -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];
Expand Down
16 changes: 8 additions & 8 deletions src/matrix_t/matrix_t.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand All @@ -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 {
Expand Down

0 comments on commit 59f7d47

Please sign in to comment.