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

Fix issues with JOS3, migrate most functions to use math.Matrix instead of plain arrays #125

Merged
merged 7 commits into from
Feb 6, 2024

Conversation

jordanocokoljic
Copy link
Collaborator

This PR fixes a standing issue in JOS3 that would prevent it from running more than one simulation run.

As a consequence, many of the functions that JOS3 relies on have been updated to accept and return mathjs Matrix instances, as they provide much better flexibility for common mathematical operations.

Therefore, the next publication of the library should be to a 2.x version.

Note, some tests are broken - this is expected as the types have become incompatible.
Excluding JOS3 - this will come in a later commit
JOS3 for `dict_result` are finally in!
Includes `body_names` and `results`
@jordanocokoljic
Copy link
Collaborator Author

On checking, the library is currently published under v0.x which means breaking changes are tolerable - so no need to worry with bump candidacy. To indicate the changes are significant I'm proposing that we'll move to v0.2.0 from v0.1.5

@jordanocokoljic jordanocokoljic marked this pull request as ready for review February 2, 2024 03:40
Copy link
Owner

@FedericoTartarini FedericoTartarini left a comment

Choose a reason for hiding this comment

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

Fantastic work, thank you so much for fixing the errors and updating the code

@jordanocokoljic jordanocokoljic merged commit b4d40d8 into main Feb 6, 2024
7 checks passed
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