Skip to content

Commit

Permalink
New version of MathematicalSystems (#53)
Browse files Browse the repository at this point in the history
* new version of MathematicalSystems

* update examples

* deactivate 'depwarn: error' on CI
  • Loading branch information
schillic authored Dec 23, 2022
1 parent fc0091e commit 587f98d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
depwarn: error
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "HybridSystems"
uuid = "2207ec0c-686c-5054-b4d2-543502888820"
repo = "https://github.com/blegat/HybridSystems.jl.git"
version = "0.4.1"
version = "0.4.2"

[deps]
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
Expand All @@ -14,7 +14,7 @@ MathematicalSystems = "d14a8603-c872-5ed3-9ece-53e0e82e39da"
FillArrays = "0.8, 0.9, 0.10, 0.11, 0.12, 0.13"
Graphs = "1"
MappedArrays = "0.2, 0.3, 0.4"
MathematicalSystems = "0.11, 0.12"
MathematicalSystems = "0.11, 0.12, 0.13"
julia = "1"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion examples/nocone.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# n = HybridSystems.dim(s)
# z = find(i -> iszero(sum(abs.(s.B[i,:]))), 1:n)
# # TODO the affine space may not be parallel to classical axis
# DiscreteLinearAlgebraicSystem(s.A[z, :], (eye(n))[z, :])
# DiscreteLinearDescriptorSystem(s.A[z, :], (eye(n))[z, :])
#end
#
#import MultivariatePolynomials
Expand Down
2 changes: 1 addition & 1 deletion examples/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function algebraiclift(s::DiscreteLinearControlSystem{T, MT, FullSpace}) where {
n = statedim(s)
z = find(i -> iszero(sum(abs.(s.B[i,:]))), 1:n)
# TODO ty - 1//2y^3 + 3//1xy + 2//1yhe affine space may not be parallel to classical axis
DiscreteLinearAlgebraicSystem(s.A[z, :], (eye(n))[z, :])
DiscreteLinearDescriptorSystem(s.A[z, :], (eye(n))[z, :])
end
algebraiclift(s::DiscreteIdentitySystem) = s
algebraiclift(S::AbstractVector) = algebraiclift.(S)
Expand Down

2 comments on commit 587f98d

@blegat
Copy link
Owner

@blegat blegat commented on 587f98d Dec 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/74562

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.2 -m "<description of version>" 587f98dd1b4169cc187e3d988a0d67e14278df93
git push origin v0.4.2

Please sign in to comment.