[Ptinpoly-commits] r39 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 27 14:23:40 CEST 2020


Author: jmaisog
Date: 2020-05-27 14:23:40 +0200 (Wed, 27 May 2020)
New Revision: 39

Modified:
   pkg/src/pinpolyhedronA.cc
Log:


Modified: pkg/src/pinpolyhedronA.cc
===================================================================
--- pkg/src/pinpolyhedronA.cc	2020-05-26 23:49:38 UTC (rev 38)
+++ pkg/src/pinpolyhedronA.cc	2020-05-27 12:23:40 UTC (rev 39)
@@ -58,7 +58,7 @@
 	vti=new void *[numvert];
 	for(int i=0; i<numvert; i++)
 		// JMM (5/26/2020): Cast void** to int ** before dereferencing it (because startaddress is int*).
-		*((int **)vti+i))=startaddress+i;
+		*((int **)vti+i)=startaddress+i;
 		//vti[i]=startaddress+i;
 }
 



More information about the Ptinpoly-commits mailing list