Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: control-toolbox/CTModels.jl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.11
Choose a base ref
...
head repository: control-toolbox/CTModels.jl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.13
Choose a head ref
  • 4 commits
  • 8 files changed
  • 1 contributor

Commits on Apr 3, 2026

  1. feat: add default component for time_grid() with MultipleTimeGridModel

    - Add __time_grid_default_component() function returning :state
    - Update time_grid method signature for MultipleTimeGridModel with default parameter
    - Remove exception method that required explicit component specification
    - Update tests to verify new default behavior
    - Add test for new default function in test_defaults.jl
    - Update CHANGELOG.md and BREAKING.md for v0.9.12-beta
    - Maintain full backward compatibility with explicit component syntax
    
    time_grid(sol) now works consistently for both UnifiedTimeGridModel and
    MultipleTimeGridModel, defaulting to state grid for multi-grid solutions.
    ocots committed Apr 3, 2026
    Configuration menu
    Copy the full SHA
    f723266 View commit details
    Browse the repository at this point in the history
  2. fix: update serialization test for new time_grid default behavior

    - Fix test_multi_grids.jl to expect T_state instead of exception
    - Update test to verify time_grid(sol) returns state grid by default
    - Ensure consistency with new MultipleTimeGridModel default behavior
    ocots committed Apr 3, 2026
    Configuration menu
    Copy the full SHA
    15e33ce View commit details
    Browse the repository at this point in the history
  3. Merge pull request #292 from control-toolbox/grids

    feat: add default component for time_grid() with MultipleTimeGridModel
    ocots authored Apr 3, 2026
    Configuration menu
    Copy the full SHA
    195bceb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    21abb3c View commit details
    Browse the repository at this point in the history
Loading