mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-06-06 15:54:47 +00:00
line ending format patch attempt
This commit is contained in:
parent
8cce587d3b
commit
46e8fc0b61
@ -6,7 +6,7 @@
|
||||
fn calcMaxPairwiseDiffNew( a : Vec4, b : Vec4) f32 {
|
||||
- const 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);
|
||||
return max_diff;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user