Updates for publishing
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
name = "differential_equations"
|
||||
version = "0.2.2"
|
||||
edition = "2021"
|
||||
authors = ["Connor Johnstone"]
|
||||
description = "A library for solving differential equations based on the DifferentialEquations.jl julia library."
|
||||
readme = "readme.md"
|
||||
repository = "https://gitlab.rcjohnstone.com/connor/differential-equations"
|
||||
license = "MIT"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ let y0 = Vector2::new(0.0, PI/2.0);
|
||||
|
||||
// Set up the problem (ODE, Integrator, Controller, and Callbacks)
|
||||
let ode = ODE::new(&derivative, 0.0, 6.3, y0, params);
|
||||
let dp45 = DormandPrince45::new(1e-12_f64, 1e-6_f64);
|
||||
let dp45 = DormandPrince45::new().a_tol(1e-12).r_tol(1e-6);
|
||||
let controller = PIController::default();
|
||||
|
||||
let value_too_high = Callback {
|
||||
|
||||
Reference in New Issue
Block a user