Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SallySoul committed Oct 4, 2024
1 parent ab3ee83 commit 1700a9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/naive_solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ impl Naive1DSolver {
let buffer_width: usize = bc_size * 2 + self.domain.zone_widths.iter().sum::<usize>();
let mut buffer_1 = vec![0.0f32; buffer_width];
for j in 0..buffer_width - bc_size {
let i = j - bc_size;
let v = (i * 13 + 8) as f32;
buffer_1[j] = v;
let i = j - bc_size;
let v = (i * 13 + 8) as f32;
buffer_1[j] = v;
}

// Set BCs
Expand Down

0 comments on commit 1700a9b

Please sign in to comment.