From 9c7956be9e2051ad356162a6354a25f041165fd2 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 25 Oct 2021 15:16:34 +0100 Subject: [PATCH] Minor changes to `where` conditions --- core/runtime/core_builtin_matrix.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/runtime/core_builtin_matrix.odin b/core/runtime/core_builtin_matrix.odin index 9c62eaba5..4559dea43 100644 --- a/core/runtime/core_builtin_matrix.odin +++ b/core/runtime/core_builtin_matrix.odin @@ -260,12 +260,12 @@ matrix4x4_inverse :: proc(x: $M/matrix[4, 4]$T) -> (y: M) #no_bounds_check { @(builtin) -matrix_hermitian_adjoint :: proc(m: $M/matrix[$N, N]$T) -> M where intrinsics.type_is_complex(T), N >= 1, N <= 4 { +matrix_hermitian_adjoint :: proc(m: $M/matrix[$N, N]$T) -> M where intrinsics.type_is_complex(T), N >= 1 { return conj(transpose(m)) } @(builtin) -matrix_trace :: proc(m: $M/matrix[$N, N]$T) -> (trace: T) where N >= 1, N <= 4 { +matrix_trace :: proc(m: $M/matrix[$N, N]$T) -> (trace: T) { for i in 0..