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

plan.pinv undefined reference #107

Open
grahamas opened this issue Aug 27, 2019 · 1 comment
Open

plan.pinv undefined reference #107

grahamas opened this issue Aug 27, 2019 · 1 comment

Comments

@grahamas
Copy link

Feel free to close this if this is expected/tolerated. I just happened across this error when trying to serialize an object that contained an FFTPlan, and the serializer (BSON) trips the undefined reference error. It'd be nice if it didn't error out, but I also understand it's a weird case.

using FFTW

plan = plan_fft(rand(20,20))
plan.pinv

ERROR: UndefRefError: access to undefined reference
@stevengj
Copy link
Member

stevengj commented Aug 28, 2019

plan.pinv is lazily initialized if you invert the plan. Nowadays maybe we should use a Union{Nothing,Plan} instead of leaving the field uninitialized.

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

2 participants