diff --git a/demo.py b/demo.py index d1f5e9e..88d0fc9 100644 --- a/demo.py +++ b/demo.py @@ -33,7 +33,7 @@ def nonlin(x,deriv=False): k2_error = y - k2 if (j% 10000) == 0: - print "Error:" + str(np.mean(np.abs(k2_error))) + print("Error:" + str(np.mean(np.abs(k2_error))) # in what direction is the target value? # were we really sure? if so, don't change too much.