Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when simulating with SPA q-dependence #3

Open
enriqua1 opened this issue May 10, 2024 · 0 comments
Open

Segmentation fault when simulating with SPA q-dependence #3

enriqua1 opened this issue May 10, 2024 · 0 comments

Comments

@enriqua1
Copy link

if(x<xyarr[i+1][0] && x>=xyarr[i][0])

Core was generated by `mast_sey -e 25 -m 100000 -dos'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  linterp (x=-1, xyarr=..., xfind=false) at mast_sey.cpp:1697
1697                if(x<xyarr[i+1][0] && x>=xyarr[i][0])
(gdb) bt
#0  linterp (x=-1, xyarr=std::vector of length 0, capacity 0, xfind=false) at mast_sey.cpp:1697
#1  0x00005645c86d927f in linterp2d (x0=0.34606671587639271, y0=-1,
    xarr=std::vector of length 250, capacity 256 = {...}, ytuparr=std::vector of length 250, capacity 256 = {...},
    total=true, xfind=false) at mast_sey.cpp:1735
#2  0x00005645c86dec65 in Electron::IMFP (this=0x7ffcf26ef780) at mast_sey.cpp:252
#3  0x00005645c86de36b in Electron::Electron (this=0x7ffcf26ef780, ie=0.34606671587639271, x=2.7869353869466362,
    y=2.3293400624950658, z=12.859911874885945, u=0.33887354495977751, v=0.79784616192541002,
    w=-0.49860427437727201, sec=1) at mast_sey.cpp:155
#4  0x00005645c86cc343 in main (argc=6, argv=0x7ffcf26efad8) at mast_sey.cpp:515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant