-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What Happened?
If a user specifies a medium.alpha_coeff that contains imaginary components, the error message received is medium.alpha_power must be a real number between 0 and 3. This is due to a typo in kspaceFirstOrder_inputChecking.m on line 216.
Appears the code should read if ~isreal(medium.alpha_power) || (medium.alpha_power >= 3 || medium.alpha_power < 0) instead of if ~isreal(medium.alpha_coeff) || (medium.alpha_power >= 3 || medium.alpha_power < 0)
Error messages
medium.alpha_power must be a real number between 0 and 3How Can We Reproduce?
Run any example code, setting medium.alpha_coeff equal to a complex value or matrix.
Operating System
Windows
Release Version
1.4 (Default)
MATLAB Version
r2019b
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working