Skip to content

Fixes for MATLAB code#13

Open
aforren1 wants to merge 2 commits into
masterfrom
aforren1-patch-matlab
Open

Fixes for MATLAB code#13
aforren1 wants to merge 2 commits into
masterfrom
aforren1-patch-matlab

Conversation

@aforren1
Copy link
Copy Markdown
Member

General cleaning (indentation, spaces), removed some code cruft (might as well be explicit rather than varargin/varargout), and added documentation.

General cleaning (indentation, spaces), removed some code cruft (might as well be explicit rather than varargin/varargout), and added documentation.
@aforren1
Copy link
Copy Markdown
Member Author

This applies to the sdl-2 version as well.

Comment thread matlab/KRload.m Outdated
if strcmp(temp,'--')
%detect the end of the header
doloop = true;
while doloop
Copy link
Copy Markdown
Member Author

@aforren1 aforren1 Nov 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit should probably just be

while true
    ...
    if condition
        break
    end
end

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

Successfully merging this pull request may close these issues.

1 participant