Vector Class Discussion

Fallbacks for gatherXX()?
Author:  Date: 2017-07-11 11:19
The error manifests with Apple LLVM version 8.0.0 (clang-800.0.42.1) which is Xcode 8.1; same code compiles without incident on GCC 4.9. Agree with your assessment; seems like the warning from clang is too aggressive.

Regarding your comment on the out-of-range indexes, perhaps I'm mis-understanding how to use blend. With two Vec4d inputs, isn't this legal: blend4d<1, 3, 5, 7>(i1, i2) ? This seemed consistent with the documentation and examples for blend4d.

Thanks!

 
thread Fallbacks for gatherXX()? new - Chris Newbold - 2017-07-10
last replythread Fallbacks for gatherXX()? new - Agner - 2017-07-10
last replythread Fallbacks for gatherXX()? new - Chris Newbold - 2017-07-11
last replythread Fallbacks for gatherXX()? new - Agner - 2017-07-11
last replythread Fallbacks for gatherXX()? - Chris Newbold - 2017-07-11
last reply Fallbacks for gatherXX()? new - Agner - 2017-07-11