Skip to content

feat: complete eval_expression and eval_module support #2826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

AayushSabharwal
Copy link
Member

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

@ChrisRackauckas
Copy link
Member

@AayushSabharwal
Copy link
Member Author

The inference failures are weird, even Cthulhu output doesn't make sense.

ChrisRackauckas added a commit to bradcarman/ActiveSuspensionModel that referenced this pull request Jun 29, 2024
I tested solver precompile and it worked just fine:

```julia
using ActiveSuspensionModel, OrdinaryDiffEq
sys = ActiveSuspensionModel.prob.f.sys;
@time sol = solve(ActiveSuspensionModel.prob; dtmax=0.1);
```

```julia
0.007036 seconds (18.07 k allocations: 1.066 MiB, 72.30% compilation time)
```

Of course as mentioned there's the issue with

```julia
@time prob′ = remake(ActiveSuspensionModel.prob, p = [sys.gravity => 1.0])
```

which is the completion SciML/ModelingToolkit.jl#2826.
@ChrisRackauckas ChrisRackauckas merged commit a203b86 into SciML:master Jun 30, 2024
21 of 22 checks passed
@AayushSabharwal AayushSabharwal deleted the as/m-e-g-a branch July 1, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants