Skip to content

Commit

Permalink
fix rlst::dense::
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Apr 2, 2024
1 parent 27b3bef commit 27b3142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/laplace_3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ mod test {
use approx::assert_relative_eq;

Check warning on line 397 in src/laplace_3d.rs

View workflow job for this annotation

GitHub Actions / Rust style checks (--features "strict")

Diff in /home/runner/work/green-kernels/green-kernels/src/laplace_3d.rs

Check warning on line 397 in src/laplace_3d.rs

View workflow job for this annotation

GitHub Actions / Rust style checks

Diff in /home/runner/work/green-kernels/green-kernels/src/laplace_3d.rs
use rand::prelude::*;
use rlst::{
rlst_dynamic_array1, rlst_dynamic_array2, Array, BaseArray, RandomAccessByRef,
rlst_dynamic_array1, Array, BaseArray, RandomAccessByRef,
RandomAccessMut, RawAccess, RawAccessMut, Shape, VectorContainer,
};

Expand Down Expand Up @@ -443,7 +443,7 @@ mod test {
let sources = rand_mat([nsources, 3]);
let targets = rand_mat([ntargets, 3]);
let charges = rand_vec(nsources);
let mut green_value = rlst::dense::rlst_dynamic_array2!(f64, [ntargets, 1]);
let mut green_value = rlst_dynamic_array2!(f64, [ntargets, 1]);

Laplace3dKernel::<f64>::default().evaluate_st(
EvalType::Value,
Expand Down

0 comments on commit 27b3142

Please sign in to comment.