Konczer / UncertaintyTheory

5 stars 0 forks source link

Use decorators to avoid code duplication #4

Closed anitavero closed 3 months ago

anitavero commented 4 months ago

Use decorators to check variables, which are currently checked with code dublication in fisher and bayesian games.

anitavero commented 3 months ago

Also in here: https://github.com/Konczer/UncertaintyTheory/blob/16bfb4c716e5d825e237271eda3596a1528c9e4a/StatisticalGames/Software/Python/statgames/statgames/statistical_game.py#L16

anitavero commented 3 months ago

Can be avoided, if an extra function call matters.