You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changing system hierarchy (binary->triple, flipping roles of primary and secondary, etc) throws an error when any of the built-in constraints have been flipped.
The text was updated successfully, but these errors were encountered:
note that this is still a bug, but is probably not a common scenario. To reproduce:
import phoebe
b=phoebe.default_binary()
b.flip_constraint('mass@primary', solve_for='period')
# setting the hierarchy still does work at this point, but flipping the constraint back causes issues
b.flip_constraint('period@binary', solve_for='mass')
b.set_hierarchy('orbit:binary(star:secondary, star:primary)')
changing system hierarchy (binary->triple, flipping roles of primary and secondary, etc) throws an error when any of the built-in constraints have been flipped.
The text was updated successfully, but these errors were encountered: