From 71387bc0e3482049f31f0a26d80f54a895f65175 Mon Sep 17 00:00:00 2001 From: Chris Maffeo <cmaffeo2@illinois.edu> Date: Thu, 6 Sep 2018 17:43:05 -0500 Subject: [PATCH] Now close Tabulated files as they are read --- src/TabulatedPotential.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TabulatedPotential.cu b/src/TabulatedPotential.cu index 0e9f30f..b4548ed 100644 --- a/src/TabulatedPotential.cu +++ b/src/TabulatedPotential.cu @@ -57,7 +57,7 @@ TabulatedPotential::TabulatedPotential(const char* fileName) : fileName(fileName delete[] tokenList; } - + fclose(inp); init(r, v, count); interpolate(); delete[] r; -- GitLab