- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 233
          fix: propagate tofloat, use_union to better_varmap_to_vars
          #3448
        
          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
Conversation
| Looks like this is giving some test failures? | 
| The test failures seem unrelated | 
| I can't reproduce these failures locally | 
| We should only do this propagation for JumpProblems. A union-typed  | 
| Shouldn't it just error if someone passes  | 
| Or should it propagate for the  | 
| Yeah it needs to propagate for the  | 
| Is this good to merge? | 
| Is use_union really relevant or needed anymore? Before it was needed to avoid parameters being converted to integers but that is now handled by making them symbolic integers. All jump systems really need is to preserve integer initial conditions as integers, not as a union type, without requiring users to specify the symbolic variables as integers originally. | 
| Yes we should probably error for any unions. We created the split parameters to handle that, so if we end up with unions anywhere that's a sign something went wrong. | 
| So  | 
| I can add that. | 
| Actually we'd still need  | 
| 
 | 
| What should become of the final test here that tests if  ModelingToolkit.jl/test/split_parameters.jl Lines 107 to 128 in 0ad773d 
 Removing  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple minor things, and needs a format
Close #3446