Open dorianmeric opened 1 year ago
I think it's to do with the version of ndarray. I had added the latest version via "cargo add ndarray", which was v0.15.2
If I change it, in my Cargo.toml file, to v0.14 then the error disappears.
[lib]
crate-type = ["cdylib"]
[dependencies]
log = "0.4.17"
ndarray = {version = "^0.14"} ## THIS VERSION SHOULD NOT BE 0.15.2
xladd = {git="https://github.com/ronniec95/xladd", features=["use_ndarray"] }
xladd-derive = "0.7.0"
then the error disappears.
Thanks for the heads up. I'll look at updating to latest ndarray.
On Mon, 16 Jan 2023, 03:39 Dorian Meric, @.***> wrote:
I think it's to do with the version of ndarray. I had added the latest version via "cargo add ndarray", which was v0.15.2
If I change it, in my Cargo.toml file, to v0.14 then the error disappears.
[lib] crate-type = ["cdylib"]
[dependencies] log = "0.4.17" ndarray = {version = "^0.14"} ## THIS VERSION SHOULD NOT BE 0.15.2 xladd = {git="https://github.com/ronniec95/xladd", features=["use_ndarray"] } xladd-derive = "0.7.0"
then the error disappears.
— Reply to this email directly, view it on GitHub https://github.com/ronniec95/xladd-derive/issues/10#issuecomment-1383434749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGY5WCAJYTJ473YZQ2T3ALWSS7ITANCNFSM6AAAAAAT4HPSMU . You are receiving this because you were mentioned.Message ID: @.***>
Hi @ronniec95, I'm trying to use your library to build an Excel addin that will have a function that takes a 2d array of cells, and that also outputs a 2d array of values into the spreadsheet. The Readme seems to indicate that you have tried making this a possibility.
I copy-paste the code from the example in "example/train.rs" into a new project (into the file src/lib.rs), however the example does not compile for me, as I get the following error message:
From Rust-analyzer:
Full error from the compiler:
Any clue what is wrong?
Thanks