Skip to content

Commit

Permalink
Update cdf.cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Jul 29, 2024
1 parent d02722b commit a075d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/orion-algo/src/algo/cdf.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ pub fn cdf<

// single value or same length as x
if loc.len() > 1 {
assert_eq!(loc.len(), x.len(), "`loc` must be a single value or same length as x");
assert!(loc.len() == x.len(), "`loc` must be a single value or same length as x");
}

// single value or same length as x
if scale.len() > 1 {
assert_eq!(scale.len(), x.len(), "`scale` must be a single value or same length as x");
assert!(scale.len() == x.len(), "`scale` must be a single value or same length as x");
}

let mut res_data = array![];
Expand Down

0 comments on commit a075d3a

Please sign in to comment.