Closed ZitingLiu closed 1 year ago
No, the line is correct as is. The struct does indeed have a field pln
. (If we had a bug on this line, don't you think we would have noticed some time in the past 20 years that FFTW was failing to compile?)
If you are getting a crash on that line, you must be passing an invalid plan p
. For example, perhaps you are passing NULL
or a plan you have destroyed.
I believe line 27&44 in print-plan.c should be: "plan pln = p" instead of "plan pln = p->pln" since plan has no attribute called plan