Browse Source

Merge pull request #2245 from Said6289/small-typo-in-linalg-any

Fix typo in linalg.any
gingerBill 2 years ago
parent
commit
56e050fbc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/math/linalg/extended.odin

+ 1 - 1
core/math/linalg/extended.odin

@@ -531,7 +531,7 @@ not_equal          :: proc{not_equal_single, not_equal_array}
 
 
 any :: proc(x: $A/[$N]bool) -> (out: bool) {
 any :: proc(x: $A/[$N]bool) -> (out: bool) {
 	for e in x {
 	for e in x {
-		if x {
+		if e {
 			return true
 			return true
 		}
 		}
 	}
 	}