Skip to content

Commit 918fe56

Browse files
authored
Merge pull request #201 from JuliaGNI/compathelper/new_version/2025-06-28-01-04-20-013-01885103614
CompatHelper: bump compat for GeometricEquations to 0.19, (keep existing compat)
2 parents c1f877a + 7dfae5d commit 918fe56

40 files changed

+161
-170
lines changed

Project.toml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GeometricMachineLearning"
22
uuid = "194d25b2-d3f5-49f0-af24-c124f4aa80cc"
3-
authors = ["Michael Kraus <[email protected]>"]
43
version = "0.4.4"
4+
authors = ["Michael Kraus <[email protected]>"]
55

66
[deps]
77
AbstractNeuralNetworks = "60874f82-5ada-4c70-bd1c-fa6be7711c8a"
@@ -13,6 +13,7 @@ Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
1313
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1414
GeometricBase = "9a0b12b7-583b-4f04-aa1f-d8551b6addc9"
1515
GeometricEquations = "c85262ba-a08a-430a-b926-d29770767bf2"
16+
GeometricIntegrators = "dcce2d33-59f6-5b8d-9047-0defad88ae06"
1617
GeometricSolutions = "7843afe4-64f4-4df4-9231-049495c56661"
1718
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
1819
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
@@ -41,10 +42,9 @@ ChainRulesCore = "1"
4142
ChainRulesTestUtils = "1"
4243
Distances = "0.10"
4344
ForwardDiff = "0.10, 1"
44-
GeometricBase = "0.10"
45-
GeometricEquations = "0.18"
46-
GeometricIntegrators = "0.14.2"
47-
GeometricSolutions = "0.3.24, 0.4"
45+
GeometricBase = "0.11"
46+
GeometricEquations = "0.19"
47+
GeometricSolutions = "0.5"
4848
HDF5 = "0.16, 0.17"
4949
KernelAbstractions = "0.9"
5050
LazyArrays = "=2.3.2"
@@ -74,13 +74,4 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
7474
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
7575

7676
[targets]
77-
test = [
78-
"Documenter",
79-
"ChainRulesTestUtils",
80-
"Random",
81-
"SafeTestsets",
82-
"Test",
83-
"GeometricProblems",
84-
"FiniteDifferences",
85-
"GeometricIntegrators",
86-
]
77+
test = ["Documenter", "ChainRulesTestUtils", "Random", "SafeTestsets", "Test", "GeometricProblems", "FiniteDifferences", "GeometricIntegrators"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include("scripts/pendulum.jl")
2828

2929
type = Float32 # Float16 etc.
3030
# get data
31-
qp_data = GeometricMachineLearning.apply_toNT(a -> CuArray(type.(a)), pendulum_data((q=[0.], p=[1.]); tspan=(0.,100.)))
31+
qp_data = GeometricMachineLearning.apply_toNT(a -> CuArray(type.(a)), pendulum_data((q=[0.], p=[1.]); timespan=(0.,100.)))
3232
# call the DataLoader
3333
dl = DataLoader(qp_data)
3434

docs/src/optimizers/manifold_related/parallel_transport.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ Y_increments = []
134134
Δ₂_transported = []
135135
136136
const n_steps = 6
137-
const tstep = 2
137+
const timestep = 2
138138
139139
for _ in 1:n_steps
140-
update_section!(λY, tstep * B, geodesic)
140+
update_section!(λY, timestep * B, geodesic)
141141
push!(Y_increments, copy(λY.Y))
142142
push!(Δ_transported, Matrix(λY) * B * E)
143143
push!(Δ₂_transported, Matrix(λY) * B₂ * E)

docs/src/tutorials/adjusting_the_loss_function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using GeometricProblems.HarmonicOscillator: hodeproblem
2020
import Random # hide
2121
Random.seed!(123) # hide
2222
23-
sol = integrate(hodeproblem(; tspan = 100), ImplicitMidpoint())
23+
sol = integrate(hodeproblem(; timespan = 100), ImplicitMidpoint())
2424
data = DataLoader(sol; suppress_info = true)
2525
2626
nn = NeuralNetwork(GSympNet(2))

docs/src/tutorials/linear_symplectic_transformer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ CairoMakie.activate!() # hide
3131
import Random # hide
3232
Random.seed!(123) # hide
3333
34-
const tstep = .3
34+
const timestep = .3
3535
const n_init_con = 5
3636
3737
# ensemble problem
38-
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; tstep = tstep)
38+
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; timestep = timestep)
3939
dl = DataLoader(integrate(ep, ImplicitMidpoint()); suppress_info = true)
4040
# dl = DataLoader(vcat(dl_nt.input.q, dl_nt.input.p)) # hide
4141

docs/src/tutorials/matrix_softmax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ mpurple = RGBf(148 / 256, 103 / 256, 189 / 256) # hide
4747
mblue = RGBf(31 / 256, 119 / 256, 180 / 256) # hide
4848
mgreen = RGBf(44 / 256, 160 / 256, 44 / 256) # hide
4949
50-
const tstep = .3
50+
const timestep = .3
5151
const n_init_con = 5
5252
5353
# ensemble problem
54-
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; tstep = tstep)
54+
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; timestep = timestep)
5555
dl = DataLoader(integrate(ep, ImplicitMidpoint()); suppress_info = true)
5656
# dl = DataLoader(vcat(dl_nt.input.q, dl_nt.input.p)) # hide
5757

docs/src/tutorials/softmax_comparison.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ CairoMakie.activate!() # hide
4040
import Random # hide
4141
Random.seed!(123) # hide
4242
43-
const tstep = .3
43+
const timestep = .3
4444
const n_init_con = 5
4545
4646
# ensemble problem
47-
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; tstep = tstep)
47+
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; timestep = timestep)
4848
dl = DataLoader(integrate(ep, ImplicitMidpoint()); suppress_info = true)
4949
5050
nothing # hide

docs/src/tutorials/symplectic_autoencoder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ using GeometricIntegrators: integrate, ImplicitMidpoint
7979
using GeometricMachineLearning
8080
import Random # hide
8181
82-
pr = tl.hodeproblem(; tspan = (0.0, 800.))
82+
pr = tl.hodeproblem(; timespan = (0.0, 800.))
8383
sol = integrate(pr, ImplicitMidpoint())
8484
nothing # hide
8585
```

docs/src/tutorials/symplectic_transformer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ CairoMakie.activate!() # hide
3131
import Random # hide
3232
Random.seed!(123) # hide
3333
34-
const tstep = .3
34+
const timestep = .3
3535
const n_init_con = 5
3636
3737
# ensemble problem
38-
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; tstep = tstep)
38+
ep = hodeensemble([rand(2) for _ in 1:n_init_con], [rand(2) for _ in 1:n_init_con]; timestep = timestep)
3939
dl = DataLoader(integrate(ep, ImplicitMidpoint()); suppress_info = true)
4040
# dl = DataLoader(vcat(dl_nt.input.q, dl_nt.input.p)) # hide
4141

docs/src/tutorials/sympnet_tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import Random # hide
2727
Random.seed!(1234) # hide
2828
2929
# the problem is the ODE of the harmonic oscillator
30-
ho_problem = ho.hodeproblem(; tspan = 500)
30+
ho_problem = ho.hodeproblem(; timespan = 500)
3131
3232
# integrate the system
3333
solution = integrate(ho_problem, ImplicitMidpoint())

0 commit comments

Comments
 (0)