Update exprtk.hpp

In struct vec_mul_op, process() results wrong value when the vec_size is greater than 16.
This commit is contained in:
SuruthiSR 2024-05-08 13:15:26 +05:30 committed by GitHub
parent f46bffcd69
commit 5392eae146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -14195,9 +14195,9 @@ namespace exprtk
return (r[ 0] * r[ 1] * r[ 2] * r[ 3])
#ifndef exprtk_disable_superscalar_unroll
+ (r[ 4] * r[ 5] * r[ 6] * r[ 7])
+ (r[ 8] * r[ 9] * r[10] * r[11])
+ (r[12] * r[13] * r[14] * r[15])
* (r[ 4] * r[ 5] * r[ 6] * r[ 7])
* (r[ 8] * r[ 9] * r[10] * r[11])
* (r[12] * r[13] * r[14] * r[15])
#endif
;
}