Skip to content

Commit

Permalink
Added Into<f64> trait bound on Float trait
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Feb 28, 2024
1 parent 6519cc4 commit 1be87c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/argmin/src/core/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub trait ArgminFloat:
+ Display
+ SendAlias
+ Into<KvValue>
+ Into<f64>
{
}

Expand All @@ -37,5 +38,6 @@ impl<I> ArgminFloat for I where
+ Display
+ SendAlias
+ Into<KvValue>
+ Into<f64>
{
}

0 comments on commit 1be87c3

Please sign in to comment.