Skip to content

Update diff#791

Merged
mkstoyanov merged 3 commits intoORNL:masterfrom
mkstoyanov:update_diff
Nov 8, 2025
Merged

Update diff#791
mkstoyanov merged 3 commits intoORNL:masterfrom
mkstoyanov:update_diff

Conversation

@mkstoyanov
Copy link
Collaborator

Updated the documentation for the new python method and added some testing.

pLibTSG.tsgGetPointsStatic.argtypes = [c_void_p, POINTER(c_double)]
pLibTSG.tsgGetQuadratureWeightsStatic.argtypes = [c_void_p, POINTER(c_double)]
pLibTSG.tsgGetInterpolationWeightsStatic.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double)]
pLibTSG.tsgGetDifferentiationWeightsStatic.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double)]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ssclift This was missing and it is another manifestation of the Apple M chip problems.

Depending on the Python implementation, this line is either optional or if omitted it will result in a segfault. There is never a warning or a proper error message.

Copy link

Choose a reason for hiding this comment

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

Thank you. I'll keep that in mind for further updates.

@mkstoyanov mkstoyanov merged commit 02c48fe into ORNL:master Nov 8, 2025
7 checks passed
@mkstoyanov mkstoyanov deleted the update_diff branch November 8, 2025 17:43
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