Remove debug prints.
This commit is contained in:
parent
fa168966eb
commit
c440c518d2
@ -214,8 +214,6 @@ impl Scales {
|
|||||||
let ndx = 0;
|
let ndx = 0;
|
||||||
|
|
||||||
for ndx in 0..self.suffixes.len() {
|
for ndx in 0..self.suffixes.len() {
|
||||||
println!("{}", self.suffixes[ndx]);
|
|
||||||
|
|
||||||
if value == self.suffixes[ndx] {
|
if value == self.suffixes[ndx] {
|
||||||
return self.base.pow(ndx as u32) as f64;
|
return self.base.pow(ndx as u32) as f64;
|
||||||
}
|
}
|
||||||
@ -237,14 +235,6 @@ impl Scales {
|
|||||||
index += 1;
|
index += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
println!(
|
|
||||||
"\t\t{}: {} {} --- {}",
|
|
||||||
value,
|
|
||||||
index,
|
|
||||||
self.base.pow(index as u32),
|
|
||||||
value / (self.base.pow(index as u32) as f64)
|
|
||||||
);
|
|
||||||
|
|
||||||
ScaledValue {
|
ScaledValue {
|
||||||
value: (value / self.base.pow((index) as u32) as f64) as f32,
|
value: (value / self.base.pow((index) as u32) as f64) as f32,
|
||||||
suffix: self.suffixes[index].to_owned(),
|
suffix: self.suffixes[index].to_owned(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user