toshiyan / cmblensplus

9 stars 7 forks source link

kills jupyter kernel #1

Closed LiYunyang closed 4 years ago

LiYunyang commented 4 years ago

When calling some functions from a jupyter notebook, for example curvedsky.norm_rot.qeb, it says "The kernel appears to have died. It will restart automatically." The same function works fine when called from a .py script.

toshiyan commented 4 years ago

My notebook works, so I guess some issue in your setup of Jupyter notebook. Please check memory, etc.

LiYunyang commented 4 years ago

I think it is the stop statement that causes the issue. The kernel crashes every time if (OCT(l)==0d0) stop 'error (norm_rot.qtb): observed clee is zero' is triggered.