Fixes, upgrade, and stuff
This commit is contained in:
@@ -154,7 +154,7 @@ impl BinaryModel {
|
||||
fn process_items(&self, items: &[&str], sign: f64) -> Vec<(usize, f64)> {
|
||||
items
|
||||
.iter()
|
||||
.map(|key| (self.storage.get_id(&key), sign))
|
||||
.map(|key| (self.storage.get_id(key), sign))
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ impl DifferenceModel {
|
||||
fn process_items(&self, items: &[&str], sign: f64) -> Vec<(usize, f64)> {
|
||||
items
|
||||
.iter()
|
||||
.map(|key| (self.storage.get_id(&key), sign))
|
||||
.map(|key| (self.storage.get_id(key), sign))
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ impl TernaryModel {
|
||||
fn process_items(&self, items: &[&str], sign: f64) -> Vec<(usize, f64)> {
|
||||
items
|
||||
.iter()
|
||||
.map(|key| (self.storage.get_id(&key), sign))
|
||||
.map(|key| (self.storage.get_id(key), sign))
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user