Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to arrays function #462

Closed
wants to merge 1 commit into from

Conversation

d-kad
Copy link
Contributor

@d-kad d-kad commented Jul 15, 2024

  • Add to_arrays method to Game class that takes as its input an array-like object of array-like objects produces a Gambit game object with a strategic form representation.
  • Add tests for the above method
  • Docstring for the new function is added

@tturocy tturocy self-requested a review July 16, 2024 10:55
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
@d-kad d-kad force-pushed the add-to-arrays-function branch 2 times, most recently from 57e5a85 to ec628ab Compare July 18, 2024 08:32
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Show resolved Hide resolved
src/pygambit/game.pxi Show resolved Hide resolved
@d-kad d-kad force-pushed the add-to-arrays-function branch 2 times, most recently from d7654b4 to afcd5dc Compare July 18, 2024 16:49
src/pygambit/game.pxi Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
src/pygambit/game.pxi Outdated Show resolved Hide resolved
tests/test_game.py Show resolved Hide resolved
@d-kad d-kad requested a review from tturocy July 31, 2024 19:26
Copy link
Member

@tturocy tturocy left a comment

Choose a reason for hiding this comment

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

Just a few minor polish items, quite close now.

src/pygambit/game.pxi Outdated Show resolved Hide resolved
doc/pygambit.user.rst Show resolved Hide resolved
Copy link
Member

@tturocy tturocy left a comment

Choose a reason for hiding this comment

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

Just one small suggestion in the docs, otherwise looking good.

The last remaining thing to do is to squash the commits down to one commit with a good commit message - see e.g. https://cbea.ms/git-commit/ for some nice habits on this. Also, add an entry as appropriate in the ChangeLog file.

doc/pygambit.user.rst Outdated Show resolved Hide resolved
@d-kad d-kad force-pushed the add-to-arrays-function branch 5 times, most recently from 0632e81 to 208ba06 Compare August 27, 2024 20:31
@d-kad d-kad changed the base branch from master to maint16_2 August 29, 2024 08:54
…ike object of array-like objects produces a Gambit game object with a strategic form representation.

Add tests for the above method
Add docstring for the new function

index on add-to-arrays-function: b1b801f Add to_arrays function
@d-kad d-kad changed the base branch from maint16_2 to master August 29, 2024 12:38
@tturocy
Copy link
Member

tturocy commented Aug 30, 2024

The commit history of this has gotten garbled enough that I have manually re-done it and committed as cc7c97e.

@tturocy tturocy closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants