Skip to content

Commit

Permalink
minor - fix warning in ceed/ex2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Aug 28, 2024
1 parent 637f263 commit d06a2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ceed/ex2-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int main(int argc, const char *argv[]) {
CeedQFunction qf_apply;
if (gallery) {
// This creates the QFunction via the gallery.
char name[16] = "";
char name[25] = "";
snprintf(name, sizeof name, "Poisson%" CeedInt_FMT "DApply", dim);
CeedQFunctionCreateInteriorByName(ceed, name, &qf_apply);
} else {
Expand Down

0 comments on commit d06a2c1

Please sign in to comment.