Commit e5970d5d authored by Brad Kennedy's avatar Brad Kennedy
Browse files

Fixed a bug with having a context config without having hints

parent 3d41444b
......@@ -37,6 +37,9 @@ function rval = find_hints_context_config(context_config, varname)
exp = '\[(?<key>\w+)\]\s+(?<val>\S+)';
tokens = regexp(context_config.misc, exp, 'names');
if isempty(tokens{1})
for i=1:length(tokens)
if strcmp(tokens{i}.key, varname)
rval = [tokens{i}.val '/'];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment