Downcast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8c78e18f7c
commit
a7844fd600
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ public class virtual_poly_runme {
|
|||
NDouble dc = (NDouble)d.copy();
|
||||
NInt ic = (NInt)i.copy();
|
||||
|
||||
NDouble ddc = (NDouble)NDouble.narrow(dc);
|
||||
NInt dic = (NInt)NInt.narrow(ic);
|
||||
NDouble ddc = NDouble.narrow(dc);
|
||||
NInt dic = NInt.narrow(ic);
|
||||
|
||||
virtual_poly.incr(ic);
|
||||
if ( (i.get() + 1) != ic.get() )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue