mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-11-04 01:10:20 +00:00
fix:
This commit is contained in:
1 parent
fa01006a74
commit
243fa7435a
1 file changed
+1
-1
@@ -24,5 +24,5 @@ func SelectNotZero[T Number](num1 T, num2 T) T {
|
||||
if num1 != 0 {
|
||||
return num1
|
||||
}
|
||||
return num1
|
||||
return num2
|
||||
}
|
||||
Reference in new issue
Block a user