Skip to content

Segmentation fault when running the main.cpp #48

Description

@LiuDianshi

Dear Developers:
After I build the program following the instructions of README.md and run the main progrem, an error occured after the fisrt iteration:

dianshi:~/chimera-iDash2018/build$ ./main
y:[1 0 1 0 0 0 ... 1 1 1 1 1 ]
--- iter 0-----
beta: [0 0 0 0 ]
XBeta: [0 0 0 0 0 0 ... 0 0 0 0 0 ]
p: [0.5 0.5 0.5 0.5 0.5 0.5 ... 0.5 0.5 0.5 0.5 0.5 ]
w: [0.25 0.25 0.25 0.25 0.25 0.25 ... 0.25 0.25 0.25 0.25 0.25 ]
ymp: [0.5 -0.5 0.5 -0.5 -0.5 -0.5 ... 0.5 0.5 0.5 0.5 0.5 ]
mgrad: [-0.926371 0.901532 1.17524 -0.360879 ]
4mgrad: [-3.70548 3.60613 4.70096 -0.360879 ]
grad: 0 6.997428217
[1] 21652 segmentation fault ./main

I think this error is related to the destructor of the class BigTorusVector.
So can you fix this bug please ?😁
Looking forward to your replay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions