pydstool icon indicating copy to clipboard operation
pydstool copied to clipboard

[PyCont] Setting of NumCollocation > 7 freezes kernel

Open mdepitta opened this issue 10 years ago • 4 comments

Dear all, not sure it is a bug or I am doing something wrong. But while trying to play a bit with the parameters for LC-C curves, as soon as I changed the default NumCollocation=4 to some other number >4, the kernel of my ipython notebook froze and had to restart it.

M

mdepitta avatar Aug 23 '14 03:08 mdepitta

Hi all,

This is strange. Just yesterday I've been changing the NumCollocation property and it worked just fine.

Which value did you used? PyCont is using Auto in background, so it has the same limitation, i.e. NumCollocation has to be smaller or equal than 7.

Florian

F-A avatar Aug 23 '14 09:08 F-A

Hi Florian, sorry about it. I confused NumCollocation with Ntst in XPPAUT.

This is not likely the best platform to ask this question. However, could you just briefly elucidate me what NumCollocation controls in the LC continuation and what its max upper bound 7 is due to? (Otherwise I close this issue and I post this question on the Sourceforge site)

M

mdepitta avatar Aug 24 '14 14:08 mdepitta

Hi,

could you maybe post this question on the Sourceforge site? This could be also useful for other users. Moreover, even if I can try to answer your question, I'm not an expert on continuation and Drew might complete/correct my answer.

Concerning the bug, there IS actually a bug with NumCollocation. When you set NumCollocation to a value higher than 8, AUTO send notification that it supports only value lower or equal ot 7 and the python kernel stops. I would say this is actually a major bug, since it looks like a crash and the user has no chance to save his session. I guess an exception should be thrown in Python if NumCollocation is set to an unsupported value.

Could you maybe update this bug title accordingly? Otherwise I can open another bug with all the detailed information.

Florian

F-A avatar Aug 25 '14 10:08 F-A

Hi Florian, thanks for pointing that out. I am gonna post this on sourceforge.com.

I can post it also as a "bug" here. Just because we are on the topic, how do I apply labels "bug"/"questions"/ whatever to my posts here? I could not find any button or option...

M

mdepitta avatar Aug 25 '14 12:08 mdepitta