diff --git a/Examples/test-suite/python_builtin.i b/Examples/test-suite/python_builtin.i index f47e937c8..994c625e8 100644 --- a/Examples/test-suite/python_builtin.i +++ b/Examples/test-suite/python_builtin.i @@ -234,7 +234,7 @@ class ANumber { int num; public: ANumber(int d = 0) : num(d) {} - ANumber __pow__(const ANumber &other, const ANumber *x) const { + ANumber __pow__(const ANumber &other, const ANumber *x = 0) const { int val = (int)pow(num, other.num); val = x ? val % x->num : val; return ANumber(val);