When building numo-linalg, the apple clang compiler v13.1.6 displays parentheses warnings:
ext/numo/linalg/blas/gen/../tmpl/ger.c:108:18: warning: using the result of an assignment as a c
ondition without parentheses [-Wparentheses]
if (ndf.nout = 1) { // a is not given.
~~~~~~~~~^~~
...
ext/numo/linalg/blas/gen/../tmpl/syr2k.c:127:18: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
if (ndf.nout = 1) { // c is not given.
~~~~~~~~~^~~
I think that a conditional expression is more appropriate than an assignment expression and have fixed it as such.
When building numo-linalg, the apple clang compiler v13.1.6 displays parentheses warnings:
I think that a conditional expression is more appropriate than an assignment expression and have fixed it as such.