Skip to content

Commit

Permalink
Merge branch 'master' into new-formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
oameye authored Oct 6, 2024
2 parents 50ff80c + 91c2f5f commit f78267e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "HarmonicBalance"
uuid = "e13b9ff6-59c3-11ec-14b1-f3d2cc6c135e"
authors = ["Jan Kosata <[email protected]>", "Javier del Pino <[email protected]>", "Orjan Ameye <[email protected]>"]
version = "0.10.7"
version = "0.10.8"

[deps]
BijectiveHilbert = "91e7fc40-53cd-4118-bd19-d7fcd1de2a54"
Expand Down Expand Up @@ -48,15 +48,15 @@ HomotopyContinuation = "2.9"
JET = "0.9.9"
JLD2 = "0.4.48, 0.5"
Latexify = "0.16"
ModelingToolkit = "9.34"
ModelingToolkit = "9.34 - 9.40"
NonlinearSolve = "3.14"
OrderedCollections = "1.6"
OrdinaryDiffEq = "v6.89"
Peaks = "0.5"
Plots = "1.39"
PrecompileTools = "1.2"
ProgressMeter = "1.7.2"
SteadyStateDiffEq = "2.3"
SteadyStateDiffEq = "2.3.2"
SymbolicUtils = "3.5"
Symbolics = "6.4"
julia = "1.10.0"
Expand Down
24 changes: 12 additions & 12 deletions docs/src/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ export default defineConfig({
},

head: [
// [
// "script",
// { async: "", src: "https://www.googletagmanager.com/gtag/js?id=G-Q8GYTEVTZ2" },
// ],
// [
// "script",
// {},
// `window.dataLayer = window.dataLayer || [];
// function gtag(){dataLayer.push(arguments);}
// gtag('js', new Date());
// gtag('config', 'G-Q8GYTEVTZ2');`,
// ],
[
"script",
{ async: "", src: "https://www.googletagmanager.com/gtag/js?id=G-B15Z6PR1K0" },
],
[
"script",
{},
`window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-B15Z6PR1K0');`,
],
['link', { rel: 'icon', href: '/HarmonicBalance.jl/dev/favicon.ico' }],
['link', { rel: 'manifest', href: '/site.webmanifest' }],
],
Expand Down
5 changes: 3 additions & 2 deletions ext/ModelingToolkitExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ using ModelingToolkit:
varmap_to_vars,
parameters,
@parameters,
@mtkbuild
@mtkbuild,
@independent_variables

swapsides(eq::Equation) = Equation(eq.rhs, eq.lhs)

Expand All @@ -30,7 +31,7 @@ function ModelingToolkit.ODESystem(eom::HarmonicEquation)
eom = rearrange_standard(eom)
end

slow_time = (@variables T; T)
slow_time = (@independent_variables T; T)
par_names = declare_parameter.(eom.parameters)
vars = get_variables(eom)

Expand Down

0 comments on commit f78267e

Please sign in to comment.