dougmet / unsumnet

R package to reconstruct aggregated network data.
Other
0 stars 0 forks source link

Edge arrays can overflow #38

Closed dougmet closed 9 years ago

dougmet commented 9 years ago

Looks like you don't check for too many edges going into activeW. This is currently set to 2*target_ne, which is sensible for the bigger problems you used to do but for smaller systems this can easily overflow.

Set a maximum array size and add a check to not overflow.