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
It seems that COTSCar.set_vec() should modify COTSCar.vectorand not COTS.vector. Because it modifies Car.vector, calling COTSCar.set_vec() causes COTSCar.cost() to give a really high value. Here is an example:
It seems that
COTSCar.set_vec()
should modifyCOTSCar.vector
and notCOTS.vector
. Because it modifiesCar.vector
, callingCOTSCar.set_vec()
causesCOTSCar.cost()
to give a really high value. Here is an example:This yields:
Note that calling
COTSCar.set_vec()
did not change the return value ofCOTSCar.get_vec()
.The text was updated successfully, but these errors were encountered: