Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The following pattern occurs in both LocalClusteringCoefficient.java and TriangleListing.java :
int scale = parameters.getInt("scale", DEFAULT_SCALE); ... long vertexCount = 1 << scale;
"1 << scale" may overflow with type "int" due to the use of 32-bit arithmetic
Attachments
Issue Links
- links to