Skip to content

Commit

Permalink
fix transform_invert_values var name for natural
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Feb 22, 2024
1 parent 24e07af commit aaddd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub fn transform_invert_values(values: &mut DMatrix<f64>, varname: &str) {

let mut lookup_table: HashMap<&str, f64> = HashMap::new();
lookup_table.insert("bike_index", 1.0);
lookup_table.insert("nature_index", 1.0);
lookup_table.insert("natural", 1.0);

if let Some(&value) = lookup_table.get(varname) {
for val in &mut values_ref_var {
Expand Down

0 comments on commit aaddd63

Please sign in to comment.