Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 241507c

Browse files
committed
Updated for rlst
1 parent 36fe3ab commit 241507c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/bindings.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ pub mod ciarlet {
844844
let points = points as *mut T::Real;
845845
for (i, j) in element.interpolation_points()[entity_dim][entity_index]
846846
.data()
847+
.unwrap()
847848
.iter()
848849
.enumerate()
849850
{
@@ -870,6 +871,7 @@ pub mod ciarlet {
870871
let weights = weights as *mut T;
871872
for (i, j) in element.interpolation_weights()[entity_dim][entity_index]
872873
.data()
874+
.unwrap()
873875
.iter()
874876
.enumerate()
875877
{

src/ciarlet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ where
446446
let mut pts = DynArray::<T::Real, 2>::from_shape(ref_pts.shape());
447447
for p in 0..npts {
448448
for (i, c) in finv(
449-
&ref_pts.data()[ref_pts.shape()[0] * p..ref_pts.shape()[0] * (p + 1)],
449+
&ref_pts.data().unwrap()[ref_pts.shape()[0] * p..ref_pts.shape()[0] * (p + 1)],
450450
f,
451451
)
452452
.iter()

0 commit comments

Comments
 (0)