Also ensure filename is a sufficiently long string to hold any possible
output from the format.
> On Jul 12, 2024, at 6:53 AM, Matthew Knepley wrote:
>
> This Message Is From an External Sender
> This message came from outside your organization.
> On Fri, Jul 12, 2024 at 2:26 AM Ivan Luth
On Fri, Jul 12, 2024 at 2:26 AM Ivan Luthfi wrote:
> I have warning: FormatFunction. c: In function 'ComputeStiffnessMatrix':
> FormatFunction. c: 128: 46: warning: '%d' directive writing between 1 and
> 11 bytes into a region of size between 0 and 99 [-Wformat-overflow]
> (line128) sprintf(file
I have warning:
FormatFunction.c: In function 'ComputeStiffnessMatrix':
FormatFunction.c:128:46: warning: '%d' directive writing between 1 and 11
bytes into a region of size between 0 and 99 [-Wformat-overflow]
(line128) sprintf(filename, "%sc%d_N%dM%d_permeability.log",
up->problem_description,