mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-26 01:20:30 +00:00
line ending format patch attempt
This commit is contained in:
parent
8cce587d3b
commit
46e8fc0b61
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
fn calcMaxPairwiseDiffNew( a : Vec4, b : Vec4) f32 {
|
fn calcMaxPairwiseDiffNew( a : Vec4, b : Vec4) f32 {
|
||||||
- const abs_diff_vec = ???;
|
- const abs_diff_vec = ???;
|
||||||
- const max_diff = @reduce(???, abs_diff_vec);
|
- const max_diff = @reduce(???, abs_diff_vec);
|
||||||
+ const abs_diff_vec = @abs(a - b);
|
+ const abs_diff_vec = @abs( a - b );
|
||||||
+ const max_diff = @reduce(.Max, abs_diff_vec);
|
+ const max_diff = @reduce(.Max, abs_diff_vec);
|
||||||
return max_diff;
|
return max_diff;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue