aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-15 13:53:05 -0800
committerChris Robinson <[email protected]>2023-01-15 13:53:05 -0800
commit88796d2ad51f014f0ec236c0e1df624ac8224cb7 (patch)
tree5ff87a4dc24254d0e2f29d78cf18dd2c130f403e /utils/makemhr
parent0526ecd2f95877b167293e50ab8ce0ce614d03f4 (diff)
Fix closing parenthesis
Diffstat (limited to 'utils/makemhr')
-rw-r--r--utils/makemhr/makemhr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/makemhr/makemhr.cpp b/utils/makemhr/makemhr.cpp
index e3585530..2fec001b 100644
--- a/utils/makemhr/makemhr.cpp
+++ b/utils/makemhr/makemhr.cpp
@@ -1024,7 +1024,7 @@ static void NormalizeHrirs(HrirDataT *hData)
/* Now scale all IRs by the given factor. */
auto proc_channel = [irSize,factor](double *ir)
- { std::transform(ir, ir+irSize, ir, [factor](auto a){ return a * factor; }};
+ { std::transform(ir, ir+irSize, ir, [factor](auto s){ return s * factor; }); };
auto proc_azi = [channels,proc_channel](HrirAzT &azi)
{ std::for_each(azi.mIrs, azi.mIrs+channels, proc_channel); };
auto proc_elev = [proc_azi](HrirEvT &elev)