diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2004-11-15 20:58:00 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2004-11-15 20:58:00 +0000 |
commit | 3959bffb7e5d747f8d1e49eef53a1e73da09efb0 (patch) | |
tree | b44d8cd634f1f4c668dc734fc10dfed291c13f70 /Examples/GIFPlot/Python/full/runme.py | |
parent | 190402480535befa840284a478bbcb1d9088aae8 (diff) | |
download | swig-3959bffb7e5d747f8d1e49eef53a1e73da09efb0.tar.gz |
minor errors/warings fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/GIFPlot/Python/full/runme.py')
-rw-r--r-- | Examples/GIFPlot/Python/full/runme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/GIFPlot/Python/full/runme.py b/Examples/GIFPlot/Python/full/runme.py index 9f4ada602..cb324c814 100644 --- a/Examples/GIFPlot/Python/full/runme.py +++ b/Examples/GIFPlot/Python/full/runme.py @@ -49,7 +49,7 @@ def drawsolid(): c2 = cscale*(z2-zmin) c3 = cscale*(z3-zmin) c4 = cscale*(z4-zmin) - c = (c1+c2+c3+c4)/4 + c = int((c1+c2+c3+c4)/4) if (c < 0) : c = 0 if c > 239 : c = 239 Plot3D_solidquad(p3,x,y,z1,x+dx,y,z2,x+dx,y+dy,z3,x,y+dy,z4,c+16) |