8000 Fixes #17; Removed obsolete undef by davidhrbac · Pull Request #74 · permon/permon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixes #17; Removed obsolete undef #74

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidhrbac
Copy link
Collaborator

No description provided.

Copy link
Member
@jkruzik jkruzik left a comment

Choose a reason for hiding this comment

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

__FUNCT__ is used in some parts of the code and needs to be replaced by PETSC_FUNCTION_NAME which is defined as __func__. Therefore, printf using it like

PetscCall(PetscViewerASCIIPrintf(v,__FUNCT__" output follows\n"));

need to replace it as
PetscCall(PetscViewerASCIIPrintf(v,"%s output follows\n",PETSC_FUNCTION_NAME));

For a reference, this PR removed __FUNCT__ from PETSc https://gitlab.com/petsc/petsc/-/merge_requests/609

@@ -2,11 +2,7 @@
#include <permon/private/petscimpl.h>

#if defined(MatCreateSeqSBAIJWithArrays)
#undef MatCreateSeqSBAIJWithArrays
#endif
Copy link
Member

Choose a reason for hiding this comment

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

this can't be deleted

I'll open an issue to review these fixes for PETSc functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0