Herman Sletmoen
Herman Sletmoen
Hi! I enjoy using brouter-web to plan routes for bike tours. Moreover, I prefer to print my routes on paper and bring them with me, as I like the feeling...
## Checklist - [x] Appropriate tests were added - [x] Any code changes were done in a way that does not break public API - [x] All documentation related to...
The example ```julia using ModelingToolkit using ModelingToolkit: t_nounits as t, D_nounits as D @testset "Non-1-indexed variable array" begin @variables x(t)[0:1] # 0-indexed variable array sys = ODESystem([ x[0] ~ 0.0...
Auto-differentiating through `remake(ODEProblem())` works, but not directly through `ODEProblem()`: ```julia using Test using ModelingToolkit using ModelingToolkit: t_nounits as t, D_nounits as D using DifferentialEquations using ForwardDiff @testset "ForwardDiff through ODEProblem...
Consider this (trivial) ODE for `x` and `y`: ```julia using Test using ModelingToolkit using ModelingToolkit: t_nounits as t, D_nounits as D using DifferentialEquations @variables x(t) y(t) s(t) sys1 = structural_simplify(ODESystem([D(x)...
The last `@test_nowarn` in ```julia using Test using ModelingToolkit using ModelingToolkit: t_nounits as t, D_nounits as D using DifferentialEquations using ForwardDiff @testset "remake type promotion with empty initial conditions" begin...
The simplified derivative expansion ```julia using Symbolics @variables t a(t) D(expr) = expand_derivatives(Differential(t)(expr)) simplify_fractions(D(D(a)/a) + D(D(a)/a)) ``` outputs ```julia (2.0a(t)*Differential(t)(Differential(t)(a(t))) - 2.0(Differential(t)(a(t))^2)) / (a(t)^2) ``` Why are the coefficients `2.0`...
This change uses `div` in the `divrem` function, rather than `/`. This prevents integer divison from being promoted to floats, fixing the downstream issue JuliaSymbolics/Symbolics.jl#1083. However, I see it breaks...
Derivatives of observed variables calculated with `ODESolution(t, Val{1}, ...)` are incorrect. On `v9.12.2` (after #2574), the simple test ```julia using Test using ModelingToolkit using ModelingToolkit: t_nounits as t, D_nounits as...
This fixes #524. Does it break anything else? I am not able to run all tests locally, as `] test` fails with a bunch of warnings, with or without my...