This commit is contained in:
Simon Gardling
2023-12-08 10:12:27 -05:00
parent 8902c986f8
commit 625bfae3be
10 changed files with 18 additions and 33 deletions

View File

@@ -10,7 +10,6 @@ use serde::{ser::SerializeStruct, Deserialize, Deserializer, Serialize, Serializ
use std::{
fmt::{self, Debug},
hash::{Hash, Hasher},
intrinsics::assume,
};
/// Represents the possible variations of Riemann Sums
@@ -277,8 +276,6 @@ impl FunctionEntry {
debug_assert!(resolution > 0.0);
let resolution_iter = step_helper(settings.plot_width + 1, settings.min_x, resolution);
unsafe { assume(!resolution_iter.is_empty()) }
// Makes sure proper arguments are passed when integral is enabled
if self.integral && settings.integral_changed {
self.clear_integral();

View File

@@ -1,7 +1,6 @@
#![feature(const_mut_refs)]
#![feature(let_chains)]
#![feature(const_trait_impl)]
#![feature(core_intrinsics)]
#![feature(const_fn_floating_point_arithmetic)]
#![feature(const_assume)]
#![feature(const_option_ext)]