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

Commit 047b8da

Browse files
authored
fix indentation in docs (#108)
1 parent 646d866 commit 047b8da

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/lib.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
//! // Create an array to store the basis function values
2727
//! let mut basis_values = DynArray::<f64, 4>::from_shape(element.tabulate_array_shape(0, 1));
2828
//! // Create array containing the point [1/2, 1/2]
29-
//! let mut points = DynArray::<f64, 2>::from_shape([2, 1]);
30-
//! points[[0, 0]] = 1.0 / 2.0;
31-
//! points[[1, 0]] = 1.0 / 2.0;
32-
//! // Tabulate the element's basis functions at the point
33-
//! element.tabulate(&points, 0, &mut basis_values);
34-
//! println!(
35-
//! "The values of the basis functions at the point (1/2, 1/2) are: {:?}",
36-
//! basis_values.data()
37-
//! );
29+
//! let mut points = DynArray::<f64, 2>::from_shape([2, 1]);
30+
//! points[[0, 0]] = 1.0 / 2.0;
31+
//! points[[1, 0]] = 1.0 / 2.0;
32+
//! // Tabulate the element's basis functions at the point
33+
//! element.tabulate(&points, 0, &mut basis_values);
34+
//! println!(
35+
//! "The values of the basis functions at the point (1/2, 1/2) are: {:?}",
36+
//! basis_values.data()
37+
//! );
3838
//! ```
3939
#![cfg_attr(feature = "strict", deny(warnings), deny(unused_crate_dependencies))]
4040
#![warn(missing_docs)]

0 commit comments

Comments
 (0)