Skip to content

Commit

Permalink
Turn examples into crates
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Jan 15, 2024
1 parent b52974f commit 819323e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 0 additions & 4 deletions argmin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ maintenance = { status = "actively-developed" }
targets = ["x86_64-unknown-linux-gnu"]
features = ["serde1"]

[[example]]
name = "gaussnewton"
required-features = ["argmin-math/ndarray_latest-serde"]

[[example]]
name = "gaussnewton_linesearch"
required-features = ["argmin-math/ndarray_latest-serde"]
Expand Down
13 changes: 13 additions & 0 deletions examples/gaussnewton/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "example-gaussnewton"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false

[dependencies]
argmin = { version = "*", path = "../../argmin" }
argmin-math = { version = "*", features = ["ndarray_latest-serde"], path = "../../argmin-math" }
argmin-observer-slog = { version = "*", path = "../../observers/slog/" }
ndarray = "0.15.6"
ndarray-linalg = { version = "0.16.0", features = ["intel-mkl"] }
File renamed without changes.

0 comments on commit 819323e

Please sign in to comment.