summaryrefslogtreecommitdiff
path: root/numpy/distutils/tests
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/tests')
-rw-r--r--numpy/distutils/tests/swig_ext/src/example.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/distutils/tests/swig_ext/src/example.c b/numpy/distutils/tests/swig_ext/src/example.c
index 7bbb661dd..be151725c 100644
--- a/numpy/distutils/tests/swig_ext/src/example.c
+++ b/numpy/distutils/tests/swig_ext/src/example.c
@@ -1,14 +1,14 @@
/* File : example.c */
-double My_variable = 3.0;
+double My_variable = 3.0;
/* Compute factorial of n */
int fact(int n) {
- if (n <= 1) return 1;
- else return n*fact(n-1);
+ if (n <= 1) return 1;
+ else return n*fact(n-1);
}
/* Compute n mod m */
int my_mod(int n, int m) {
- return(n % m);
+ return(n % m);
}