Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Tradecommit #96

Merged
merged 8 commits into from
Sep 11, 2017
Merged

Conversation

DavoudTaghawiNejad
Copy link
Member

No description provided.

@@ -84,9 +82,9 @@ def consumption(self):
utility = self.consume_everything()
assert is_zero(utility - 10 ** 0.2 * 10 ** 0.5 * 10 **
0.3), (utility, 10 ** 0.2 * 10 ** 0.5 * 10 ** 0.3)
assert self.possession('a') == 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be hard to port to other language. I suggest to use self.possession.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, but in this case I prefer to keep it nice in python and find more awkward springs in other languages later. We don't even know if another language will happen or not.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a standard of an economic simulation library, yes it will be in multiple languages.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok in this case let's give both options. I will make a pioneered which does not depreciate possessions.

@DavoudTaghawiNejad DavoudTaghawiNejad merged commit bfa6a56 into AB-CE:master Sep 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants