line ending format patch attempt

This commit is contained in:
bgthompson 2024-11-07 13:42:53 +10:00
parent 8cce587d3b
commit 46e8fc0b61

View file

@ -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;
} }