Skip to content

Commit e15417d

Browse files
committed
Fix neon unsafe method
1 parent 590c965 commit e15417d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splashsurf_lib/src/kernel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ unsafe impl NeonKernel for CubicSplineKernelNeonF32 {
197197

198198
/// Evaluates the cubic spline kernel at the specified radial distances
199199
#[target_feature(enable = "neon")]
200-
fn evaluate(&self, r: float32x4_t) -> float32x4_t {
200+
unsafe fn evaluate(&self, r: float32x4_t) -> float32x4_t {
201201
use core::arch::aarch64::*;
202202

203203
let one = vdupq_n_f32(1.0);

0 commit comments

Comments
 (0)