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

Update table class for tables without indexes #3

Open
wants to merge 2 commits into
base: github
Choose a base branch
from

Conversation

ebroda
Copy link

@ebroda ebroda commented Apr 12, 2023

On my first try I had a table without indices, in this case PlantSimulation throw an error, as no value is in cell[0,0] in this case. To circumvent this problem, I've updated the table class to check if the table has a ColumnIndex or RowIndex and set the starting values of range() accordingly. Additionally, some getters are updated to respect the (non)-existence of column or row indices.

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.

1 participant