Skip to content

Commit 81aa09e

Browse files
committed
turned off printing
1 parent a58d1b5 commit 81aa09e

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ lto = "fat"
2828
codegen-units = 1
2929
#debug = true
3030
opt-level=3
31+
#incremental = true

src/math/series_approximation.rs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ impl SeriesApproximation {
272272
};
273273

274274
probe.reduce();
275-
// series_probe.reduce();
276-
// derivative_probe.reduce();
277275

278276
let relative_error = (probe - series_probe).norm_square();
279277
let mut derivative = derivative_probe.norm_square();
@@ -362,18 +360,18 @@ impl SeriesApproximation {
362360
}
363361
}
364362

365-
println!("series approximation valid interpolation buffer:");
366-
let temp_size = self.probe_sampling - 1;
367-
for i in 0..temp_size {
368-
let test = &self.valid_interpolation[(i * temp_size)..((i + 1) * temp_size)];
369-
print!("[");
363+
// println!("series approximation valid interpolation buffer:");
364+
// let temp_size = self.probe_sampling - 1;
365+
// for i in 0..temp_size {
366+
// let test = &self.valid_interpolation[(i * temp_size)..((i + 1) * temp_size)];
367+
// print!("[");
370368

371-
for element in test {
372-
print!("{:>8},", element);
373-
}
369+
// for element in test {
370+
// print!("{:>8},", element);
371+
// }
374372

375-
print!("\x08]\n");
376-
}
373+
// print!("\x08]\n");
374+
// }
377375

378376
if !self.experimental {
379377
self.valid_interpolation = vec![self.min_valid_iteration; (self.probe_sampling - 1) * (self.probe_sampling - 1)];

0 commit comments

Comments
 (0)