From cd40ec81173e5abfd6d921da74e9a9471fbe3dea Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 30 Apr 2023 19:35:18 +0300 Subject: [PATCH] =?UTF-8?q?fix=20=C2=AF2e9=E2=80=BF2e9=E2=8D=8B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/builtins/grade.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/grade.h b/src/builtins/grade.h index 2b120468..d248ff58 100644 --- a/src/builtins/grade.h +++ b/src/builtins/grade.h @@ -367,7 +367,7 @@ B GRADE_CAT(c2)(B t, B w, B x) { i32* wi = tyany_ptr(w); i32* xi = tyany_ptr(x); if (CHECK_VALID && !FL_HAS(w,fl)) { - for (i64 i = 0; i < (i64)wia-1; i++) if ((wi[i]-wi[i+1]) GRADE_UD(>,<) 0) thrM(GRADE_CHR": 𝕨 must be sorted"GRADE_UD(," in descending order")); + for (i64 i = 0; i < (i64)wia-1; i++) if (wi[i] GRADE_UD(>,<) wi[i+1]) thrM(GRADE_CHR": 𝕨 must be sorted"GRADE_UD(," in descending order")); FL_SET(w, fl); }