Skip to content

Commit

Permalink
more flexible thiserror version (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
wCheddar authored Aug 26, 2021
1 parent 603f821 commit 992938e
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ approx = "0.4"
ndarray = { version = "0.15", default-features = false, features = ["approx"] }
ndarray-linalg = { version = "0.14", optional = true }

thiserror = "=1.0.25"
thiserror = "1.0"

[dependencies.serde_crate]
package = "serde"
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-bayes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["algorithms", "mathematics", "science"]
[dependencies]
ndarray = { version = "0.15" , features = ["blas", "approx"]}
ndarray-stats = "0.5"
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../.." }

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-clustering/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ndarray-stats = "0.5"
num-traits = "0.2"
rand_isaac = "0.3"
space = "0.12"
thiserror = "=1.0.25"
thiserror = "1.0"
partitions = "0.2.4"
linfa = { version = "0.4.0", path = "../..", features = ["ndarray-linalg"] }
linfa-nn = { version = "0.1.0", path = "../linfa-nn" }
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-elasticnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ndarray-linalg = "0.14"

num-traits = "0.2"
approx = "0.4"
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../.." }

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-ica/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ndarray-rand = "0.14"
ndarray-stats = "0.5"
num-traits = "0.2"
rand_isaac = "0.3"
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../..", features = ["ndarray-linalg"] }

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-linear/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ndarray-stats = "0.5"
num-traits = "0.2"
argmin = { version = "0.4.6", features = ["ndarrayl"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../..", features=["serde"] }

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-logistic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ndarray-linalg = "0.14"
num-traits = "0.2"
argmin = { version = "0.4.6", features = ["ndarrayl"] }
serde = "1.0"
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../..", features=["serde"] }

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-nn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ndarray-stats = "0.5"
num-traits = "0.2.0"
noisy_float = "0.2.0"
order-stat = "0.1.3"
thiserror = "=1.0.25"
thiserror = "1.0"

kdtree = "0.6.0"

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-pls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ndarray-rand = "0.14"
rand_isaac = "0.3"
num-traits = "0.2"
paste = "1.0"
thiserror = "=1.0.25"
thiserror = "1.0"
linfa = { version = "0.4.0", path = "../..", features = ["ndarray-linalg"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-preprocessing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ linfa = { version = "0.4.0", path = "../..", features = ["ndarray-linalg"] }
ndarray = { version = "0.15", default-features = false, features = ["approx", "blas"] }
ndarray-linalg = { version = "0.14" }
ndarray-stats = "0.5"
thiserror = "=1.0.25"
thiserror = "1.0"
approx = { version = "0.4", default-features = false, features = ["std"] }
ndarray-rand = { version = "0.14" }
unicode-normalization = "0.1.8"
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-reduction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ndarray = { version = "0.15", default-features = false, features = ["approx"] }
ndarray-linalg = "0.14"
ndarray-rand = "0.14"
num-traits = "0.2"
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../..", features = ["ndarray-linalg"] }
linfa-kernel = { version = "0.4.0", path = "../linfa-kernel" }
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-svm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ features = ["std", "derive"]
ndarray = { version = "0.15", default-features=false }
ndarray-rand = "0.14"
num-traits = "0.2"
thiserror = "=1.0.25"
thiserror = "1.0"

linfa = { version = "0.4.0", path = "../.." }
linfa-kernel = { version = "0.4.0", path = "../linfa-kernel" }
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-tsne/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords = ["tsne", "visualization", "clustering", "machine-learning", "linfa"]
categories = ["algorithms", "mathematics", "science"]

[dependencies]
thiserror = "=1.0.25"
thiserror = "1.0"
ndarray = { version = "0.15", default-features = false }
ndarray-rand = "0.14"
bhtsne = "0.4.0"
Expand Down

0 comments on commit 992938e

Please sign in to comment.