Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit b9e3315

Browse files
remove accidental Plots dependency
1 parent 2e9fb11 commit b9e3315

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqOperators"
22
uuid = "9fdde737-9c7f-55bf-ade8-46b3f136cc48"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "4.15.1"
4+
version = "4.16.0"
55

66
[deps]
77
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
@@ -13,7 +13,6 @@ LazyBandedMatrices = "d7e5e226-e90b-4449-9968-0f923699bf6f"
1313
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1414
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
1515
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
16-
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1716
RuntimeGeneratedFunctions = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47"
1817
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1918
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

test/MOL_0D_Logistic.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ using ModelingToolkit,DiffEqOperators,DiffEqBase,LinearAlgebra,Test
3434

3535
# Solve ODE problem
3636
using OrdinaryDiffEq
37-
37+
3838
sol = solve(prob,Euler(),dt=0.01,saveat=0.1)
3939

4040
# Plot and save results
41-
using Plots
42-
time = domains[1].domain.lower:0.1:domains[1].domain.upper
41+
#using Plots
42+
#time = domains[1].domain.lower:0.1:domains[1].domain.upper
4343

44-
plot(time,sol[5,1,:])
45-
savefig("MOL_0D_Logistic.png")
44+
#plot(time,sol[5,1,:])
45+
#savefig("MOL_0D_Logistic.png")
4646

4747
# Test
4848
# x_interval = domains[2].domain.lower+dx:dx:domains[2].domain.upper-dx

test/error_benchmarking.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using DiffEqOperators, Plots
1+
using DiffEqOperators
2+
# using Plots
23

34
n = 10000
45
@show n
@@ -22,7 +23,7 @@ for dor in 1:4, aor in 2:6
2223

2324
@show max_error
2425
@show avg_error
25-
plot(x[2:(end-1)], err_percent, title="Percentage Error, n=$n aor = $aor, dor = $dor")
26+
#plot(x[2:(end-1)], err_percent, title="Percentage Error, n=$n aor = $aor, dor = $dor")
2627

2728
#test result
2829
end

0 commit comments

Comments
 (0)