Closed BA8F0D39 closed 1 year ago
Updating half to 2.2.0 in the arrayfire-rust Cargo.toml fixes this
I need from_f32_const and from_f64_const from the newer half versions
@BA8F0D39 Would it be possible for you to submit a PR ? That would be great.
Done
@9prady9
@BA8F0D39 Thanks for the notification, sorry was on parental leave until recently. Will take a look at it this weekend.
Description
The latest version of half 2.2.0 is not compatible with arrayfire-rust 3.8.0
Build Environment
Compiler version: Operating system: Build environment:
Error Log
f16: HasAfEnum
is not satisfied --> examples/test.rs:27:17HasAfEnum
is not implemented forf16
note: required by a bound in {
| ^^^^^^^^^ required by this bound in
Array
--> /home/test/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:163:21 | 163 | pub struct ArrayArray