Skip to content

Bug related to swpref when updating SpinW #29

@henrikjacobsenfys

Description

@henrikjacobsenfys

Hi Sandor

I get the following error message after updating to the latest version:
Error using swpref.pref (line 86)
The requested SpinW preference does not exists!

Error in swpref.getpref (line 33)
rPref = swpref.pref(prefName,'get',varargin{:});

Error in spinw/spinwave (line 175)
useMex = swpref.getpref('usemex',[]);

Error in CuO_AFM (line 403)
CuOSpec = CuO.spinwave({ Gamma, X, N, Gamma, M, X, 200},'hermit',false);

I assume it's related to me running SpinW on Linux. If needed, I can provide a minimal example of the bug, but it's probably something general. I tried bug hunting a bit, but it's not easy.. What I know is that in getpref, the input variables when it fails are

prefName =

usemex

varargin =

cell

{[]}

Cheers,

Henrik

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions