aboutsummaryrefslogtreecommitdiff
path: root/src/interpolate.c
diff options
context:
space:
mode:
authortradke <tradke@eec4d7dc-71c2-46d6-addf-10296150bf52>2002-06-04 10:02:36 +0000
committertradke <tradke@eec4d7dc-71c2-46d6-addf-10296150bf52>2002-06-04 10:02:36 +0000
commit2d5202b3879368e983ac58c7124a730d4fee4933 (patch)
treee90e80f75e1343df056723b181a6045b54247be8 /src/interpolate.c
parente8686ad4c335ae8b1d8571dda41eb1ea0a55beeb (diff)
Fixed wrong datatypes for variables (CCTK_INT <-> int, CCTK_REAL <-> double).
Also fixed parameter get/set code in grid resizing routine. This fixes code crashes on the T3E. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@48 eec4d7dc-71c2-46d6-addf-10296150bf52
Diffstat (limited to 'src/interpolate.c')
-rw-r--r--src/interpolate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interpolate.c b/src/interpolate.c
index 13e7f6f..8a39c44 100644
--- a/src/interpolate.c
+++ b/src/interpolate.c
@@ -20,7 +20,7 @@
#define PRIVATE
#define PUBLIC
-CCTK_REAL interpolate_local(CCTK_INT order, CCTK_REAL x0, CCTK_REAL dx,
+CCTK_REAL interpolate_local(int order, CCTK_REAL x0, CCTK_REAL dx,
CCTK_REAL y[], CCTK_REAL x);
/* prototypes for private functions defined in this file */
@@ -67,7 +67,7 @@ PRIVATE CCTK_REAL interpolate_local_order5(CCTK_REAL x0, CCTK_REAL dx,
* y[0...order] = (in) The y data array.
* x = (in) The x coordinate for the interpolation.
*/
-PUBLIC CCTK_REAL interpolate_local(CCTK_INT order,
+PUBLIC CCTK_REAL interpolate_local(int order,
CCTK_REAL x0, CCTK_REAL dx,
CCTK_REAL y[],
CCTK_REAL x)