fix comments

This commit is contained in:
Simon Gardling 2022-03-23 23:20:29 -04:00
parent fe4f44718e
commit 3b4ccd52a5

View File

@ -22,17 +22,17 @@ where
/// index was calculated with `.iter().position(....` which was horribly /// index was calculated with `.iter().position(....` which was horribly
/// inefficient /// inefficient
pub struct SteppedVector { pub struct SteppedVector {
// Actual data being referenced. HAS to be sorted from minimum to maximum /// Actual data being referenced. HAS to be sorted from minimum to maximum
data: Vec<f64>, data: Vec<f64>,
// Minimum value /// Minimum value
min: f64, min: f64,
// Maximum value /// Maximum value
max: f64, max: f64,
// Since all entries in `data` are evenly spaced, this field stores the step between 2 adjacent /// Since all entries in `data` are evenly spaced, this field stores the
// elements /// step between 2 adjacent elements
step: f64, step: f64,
} }