URI:
       tarrays.c: malloc -> calloc - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
  HTML git clone git://src.adamsgaard.dk/cngf-pf
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit cdecdb7efc00a7532ef671a642c0cfb4bfd06931
   DIR parent 1e6942b9f9ad1018f0ed75947ebe69cda5b047f5
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Thu, 18 Mar 2021 17:43:01 +0100
       
       arrays.c: malloc -> calloc
       
       Diffstat:
         M arrays.c                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/arrays.c b/arrays.c
       t@@ -154,7 +154,7 @@ empty(const int n)
        
                check_magnitude(__func__, 1, n);
        
       -        if (!(out = malloc(n * sizeof(double))))
       +        if (!(out = calloc(n, sizeof(double))))
                        err(1, "%s: calloc", __func__);
        
                return out;