Skip to content

Commit

Permalink
dpa examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kab-ph committed Apr 8, 2024
1 parent 116ac4e commit 6b3d1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dpa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl<T: Clone> Dpa<T> {
pub fn new(size: usize, guess_range: i32, f: fn(T, usize) -> usize) -> Self {
Self {
len_samples: size,
guess_range: guess_range,
guess_range,
sum_0: Array2::zeros((guess_range as usize, size)),
sum_1: Array2::zeros((guess_range as usize, size)),
count_0: Array1::zeros(guess_range as usize),
Expand Down

0 comments on commit 6b3d1ad

Please sign in to comment.