I will open an issue on GitHub for the problem you reported.

https://github.com/NetLogo/models/issues/238
​
--
Nicolas

On Fri, Apr 22, 2016 at 11:30 AM, Nicolas Payette <[email protected]>
wrote:

> Hi Alan,
>
> Thanks for your report. That’s a problem indeed! I will look into it and
> consider your suggestions.
>
> That being said, the netlogo-devel group, as per its official description
> <https://groups.google.com/forum/#!forum/netlogo-devel>, “is only for
> discussion of development work involving NetLogo internals, NetLogo APIs,
> etc.”
>
> I will open an issue on GitHub for the problem you reported. If you find
> any other problems with models, please do not hesitate to do the same at
> https://github.com/NetLogo/models/issues/new. (Or write to
> [email protected] if you prefer.) That kind of feedback is always
> appreciated!
>
> Best regards,
>
> —
> Nicolas
>
> On Thu, Apr 21, 2016 at 6:04 PM, Alan Isaac <[email protected]> wrote:
>
> In the Random Network Example, it is easy for the naive user to set
>> `num-links` too high, producing an infinite loop in `setup-simple-random`.
>>
>> Two possible solutions:
>>
>> i. set the `Maximum` to `num-nodes * (num-nodes - 1) / 2` in the
>> `num-links` slider.
>>
>> ii. add the following (or equivalent) before the while loop in
>> `setup-simple-random`:
>>
>>     let max-links num-nodes * (num-nodes - 1) / 2
>>     if (num-links > max-links) [set num-links max-links]
>>
>> fwiw
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "netlogo-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to