Skip to content

Commit

Permalink
Merge pull request #250 from sathvikbhagavan/sb/clean
Browse files Browse the repository at this point in the history
chore: format NEWS.md and bump DataInterpolations version in docs
  • Loading branch information
ChrisRackauckas committed May 7, 2024
2 parents bafabdb + f4ea51c commit bf94468
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

## Breaking changes

- `AbstractInterpolation` is not a subtype of `AbstractVector` anymore. This was needed for previous versions of ModelingToolkit.jl to represent splines as vectors.
- Indexing overloads for `AbstractInterpolation` and the type parameter associated with it are removed. For example - `A` is an interpolation object:
- Doing `A[i]` will error. Use `A.u[i]`.
- `size(A)` will error. Use `size(A.u)` or `size(A.t)`.
- Removed deprecated bindings for `ZeroSpline` which is the same as `ConstantInterpolation`.
- `AbstractInterpolation` is not a subtype of `AbstractVector` anymore. This was needed for previous versions of ModelingToolkit.jl to represent splines as vectors.

- Indexing overloads for `AbstractInterpolation` and the type parameter associated with it are removed. For example - `A` is an interpolation object:

+ Doing `A[i]` will error. Use `A.u[i]`.
+ `size(A)` will error. Use `size(A.u)` or `size(A.t)`.
- Removed deprecated bindings for `ZeroSpline` which is the same as `ConstantInterpolation`.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RegularizationTools = "29dad682-9a27-4bc3-9c72-016788665182"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"

[compat]
DataInterpolations = "4"
DataInterpolations = "5"
Documenter = "1"
Optim = "1"
Plots = "1"
Expand Down

0 comments on commit bf94468

Please sign in to comment.