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
Right now, if we have a variable object, we can retrieve its component using std::dynamic_pointer_cast<libcellml::Component>(variable->parent()), which is a bit cumbersome. It would therefore be nice to have a method to retrieve the owning component of a variable, e.g. variable->component().
The text was updated successfully, but these errors were encountered:
Right now, if we have a
variable
object, we can retrieve its component usingstd::dynamic_pointer_cast<libcellml::Component>(variable->parent())
, which is a bit cumbersome. It would therefore be nice to have a method to retrieve the owning component of a variable, e.g.variable->component()
.The text was updated successfully, but these errors were encountered: