diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-12 22:31:51 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-12 22:31:51 -0500 |
commit | 2b4ece6f99c18df090a127ec20c60ff05cbc0705 (patch) | |
tree | e8ef009433b47325520cd6b7f429409cccedce6b /fold.c | |
parent | e38da51c14d9eaf8c53b58b3d2e33d7b37768f29 (diff) | |
download | roux-2b4ece6f99c18df090a127ec20c60ff05cbc0705.tar.gz |
use a less obtuse api for vnew()
Diffstat (limited to 'fold.c')
-rw-r--r-- | fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fold.c b/fold.c index a000ff4..110a23c 100644 --- a/fold.c +++ b/fold.c @@ -193,7 +193,7 @@ fold(Fn *fn) val = emalloc(fn->ntmp * sizeof val[0]); edge = emalloc(fn->nblk * sizeof edge[0]); - usewrk = vnew(0, sizeof usewrk[0], emalloc); + usewrk = vnew(0, sizeof usewrk[0], Pheap); for (n=0; n<fn->ntmp; n++) val[n] = Top; |