File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ main: () = {
34
34
35
35
t: float = c * h * g - f * e;
36
36
37
- x: int = cpp2::unsafe_narrow <int>(40 + 30 * D * (l * h * m - t * n));
37
+ x: int = cpp2::unchecked_narrow <int>(40 + 30 * D * (l * h * m - t * n));
38
38
39
- y: int = cpp2::unsafe_narrow <int>(12 + 15 * D * (l * h * n + t * m));
39
+ y: int = cpp2::unchecked_narrow <int>(12 + 15 * D * (l * h * n + t * m));
40
40
41
41
o: int = x + 80 * y;
42
42
43
- N: int = cpp2::unsafe_narrow <int>(8 * ((f * e - c * d * g) * m - c * d * e - f * g - l * d * n));
43
+ N: int = cpp2::unchecked_narrow <int>(8 * ((f * e - c * d * g) * m - c * d * e - f * g - l * d * n));
44
44
if 22 > y && y > 0 && x > 0 && 80 > x && D > z[0] {
45
45
z[o] = D;
46
46
if N > 0 { b[o] = brightness_chars[N % brightness_chars.size()]; }
You can’t perform that action at this time.
0 commit comments