Skip to content

Commit

Permalink
update orion-algo with cairo 2.7.0-rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Jul 24, 2024
1 parent 2ee39e6 commit 041ec46
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/orion-algo/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scarb 2.7.0-rc.3
6 changes: 6 additions & 0 deletions packages/orion-algo/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@ edition = "2023_11"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

[dev-dependencies]
cairo_test = "2.7.0-rc.3"

[dependencies]
orion_numbers = { path = "../orion-numbers" }

[cairo]
enable-gas=false
3 changes: 0 additions & 3 deletions packages/orion-algo/src/algo/linear_fit.cairo
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use orion_numbers::{f16x16::core::{f16x16}, FixedTrait};
use orion_algo::span_math::SpanMathTrait;
use orion_numbers::core_trait::{I32Div, I64Div};


pub fn linear_fit<
T,
Expand Down Expand Up @@ -43,7 +41,6 @@ mod tests {
use super::linear_fit;
use orion_numbers::f16x16;
use orion_numbers::f32x32;
use orion_numbers::core_trait::{I32Div, I64Div};

#[test]
fn linear_fit_line_test() {
Expand Down
1 change: 0 additions & 1 deletion packages/orion-algo/src/span_math/span_f16x16.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use orion_numbers::{f16x16::core::{f16x16, ONE}, FixedTrait};
use orion_numbers::core_trait::{I32Rem, I32Div};

use orion_algo::span_math::SpanMathTrait;

Expand Down
2 changes: 1 addition & 1 deletion packages/orion-algo/src/span_math/span_f32x32.cairo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use orion_numbers::{core_trait::{I64Rem, I64Div}, FixedTrait};
use orion_numbers::{FixedTrait};
use orion_numbers::f32x32::core::{f32x32, ONE};

use orion_algo::span_math::SpanMathTrait;
Expand Down

0 comments on commit 041ec46

Please sign in to comment.