stuff
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user