‘AF_BINARY_MUL’ was not declared in this scope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
arrayfire (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
helloworld.cpp: In function ‘int main(int, char**)’:
helloworld.
63 | af::array S = scan(r, 0, AF_BINARY_MUL);
| ^~~~~~~~~~~~~
helloworld.
63 | af::array S = scan(r, 0, AF_BINARY_MUL);
| ^~~~
| scanf
Arrayfire 3.3.2 is too old, so it doesn't have AF_BINARY_MUL. Since version 3.4, it has enum for some arithmetic operation. Please upgrade the package to latest version, 3.9.0.
Ref:
https:/