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

Updates #9

Merged
merged 7 commits into from Aug 18, 2022
Merged

Updates #9

merged 7 commits into from Aug 18, 2022

Conversation

plusk01
Copy link
Member

@plusk01 plusk01 commented Aug 18, 2022

various updates, including a version bump to 0.2.1

  • prepend CMake variables with CLIPPER_
  • use FetchContent in CMake
  • fix python parallelization
  • set M and C during the same function call
  • allows providing an initial condition u0 to gradient optimizer
  • added tests

Previously, if M or C matrices (sparse or dense) were passed without a
diagonal, a segfault would occur. Now, this is (partially) prevented. If
the user uses the method `setMatrixData`, this is completely prevented.
If the user uses the function `setSparseMatrixData`, it is assumed that
no diagonal elements have been set.

This change also adds some tests
@plusk01 plusk01 merged commit e101541 into main Aug 18, 2022
@plusk01 plusk01 deleted the updates branch August 26, 2022 00:15
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.

None yet

1 participant