-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I met the error as follows:
TypeError Traceback (most recent call last)
in
1 model = SugarcapeG1mt()
----> 2 model.run_model(step_count=1)
4 frames
in calculate_welfare(self, sugar, spice)
49 m_total = self.metabolism_sugar + self.metabolism_spice
50 # Cobb-Douglas functional form
---> 51 return sugar**(self.metabolism_sugar/m_total) * spice**(
52 self.metabolism_spice/m_total) # Error: cannot use / on tuples
53
TypeError: unsupported operand type(s) for /: 'tuple' and 'tuple'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels