forked from tsdev/spinw
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When called from places like optmagstr, varargin is actually a struct. Also, the struct contains many other additional parameters to do with fitting, so before calling genmagstr in optmagstr, warning('off','sw_readparam:UnreadInput') is called. This stops sw_readparam from issuing warnings. This also stops the `spinw:genmagstr:UnreadInput` warning from being triggered, which is why its name has been changed to UnreadInput, to avoid ugly unecessary warnings.
- Loading branch information
1 parent
cf1060b
commit f3c8aa2
Showing
2 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters