Dear Dipankar,
there must be some error in your script. Using the script:
for i in numpy.arange(-1.0,1.0,0.2):
print i
I get as expected:
stradi@stradi:Desktop$ atkpython test.py
# ---------------------------------------------------------------- #
# This time-limited pre-release version will expire on 2016-08-10. #
# ---------------------------------------------------------------- #
+------------------------------------------------------------------------------+
| |
| Atomistix ToolKit 2016.dev [Build 5a2e684] |
| |
+------------------------------------------------------------------------------+
-1.0
-0.8
-0.6
-0.4
-0.2
-2.22044604925e-16
0.2
0.4
0.6
0.8
Timing: Total Per Step %
--------------------------------------------------------------------------------
Loading Modules + MPI : 1.24 s 1.24 s 99.95% |=============|
--------------------------------------------------------------------------------
Total : 1.24 s
I also suggest to use numpy.linspace instead of numpy.arange, since the former also includes the endpoints.