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: fix -Wvla-parameter #32

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


msym_error_t ctxGetThresholds(msym_context ctx, msym_thresholds_t **thresholds);
msym_error_t ctxSetElements(msym_context ctx, int length, msym_element_t *elements);
msym_error_t ctxSetElements(msym_context ctx, int length, msym_element_t elements[length]);
msym_error_t ctxGetElements(msym_context, int *l, msym_element_t **elements);
msym_error_t ctxGetExternalElements(msym_context ctx, int *l, msym_element_t **elements);
msym_error_t ctxUpdateExternalElementCoordinates(msym_context ctx);
Expand Down
4 changes: 2 additions & 2 deletions src/msym.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ extern "C" {
msym_error_t MSYM_EXPORT msymGetPointGroupType(msym_context ctx, msym_point_group_type_t *t, int *n);
msym_error_t MSYM_EXPORT msymSetPointGroupByName(msym_context ctx, const char *name);
msym_error_t MSYM_EXPORT msymSetPointGroupByType(msym_context ctx, msym_point_group_type_t type, int n);
msym_error_t MSYM_EXPORT msymGetPointGroupName(msym_context ctx, int l, char *buf);
msym_error_t MSYM_EXPORT msymGetPointGroupName(msym_context ctx, int l, char buf[l]);
msym_error_t MSYM_EXPORT msymGetSubgroups(msym_context ctx, int *l, const msym_subgroup_t **subgroups);
msym_error_t MSYM_EXPORT msymSelectSubgroup(msym_context ctx, const msym_subgroup_t *subgroup);
msym_error_t MSYM_EXPORT msymGetSymmetryOperations(msym_context ctx, int *sopsl, const msym_symmetry_operation_t **sops);
Expand All @@ -198,7 +198,7 @@ extern "C" {
msym_error_t MSYM_EXPORT msymGetSALCs(msym_context ctx, int l, double c[l][l], int species[l], msym_partner_function_t pf[l]);
#endif
msym_error_t MSYM_EXPORT msymSymmetrySpeciesComponents(msym_context ctx, int wfl, double *wf, int sl, double *s);
msym_error_t MSYM_EXPORT msymGenerateElements(msym_context ctx, int length, msym_element_t *elements);
msym_error_t MSYM_EXPORT msymGenerateElements(msym_context ctx, int length, msym_element_t elements[length]);
msym_error_t MSYM_EXPORT msymGenerateSubrepresentationSpaces(msym_context ctx);
msym_error_t MSYM_EXPORT msymAlignAxes(msym_context ctx);

Expand Down