Multiply branch volume properly, fixes
@@ -50,7 +50,7 @@ public class NetVolumeNode implements INodeInspector {
}
public void multiplyVolume (double multiplier) {
- branchVolumes.forEach((a,b)-> b = (int)(b*multiplier));
+ branchVolumes.replaceAll((a, b) -> (int) (b * multiplier));
}
public int[] getRawVolumesArray(){
