Skip to content

Commit

Permalink
vl_setupnn.m: avoids printing a spurious warning message when called …
Browse files Browse the repository at this point in the history
…as run matlab/vl_setupnn.m
  • Loading branch information
vedaldi committed Apr 18, 2016
1 parent 6980506 commit 16a6d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/vl_setupnn.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ function vl_setupnn()
addpath(fullfile(root, 'matlab', 'compatibility', 'parallel')) ;
end

if regexp(which('vl_nnconv'), '.m$')
if numel(dir(fullfile(root, 'matlab', 'mex', 'vl_nnconv.mex*'))) == 0
warning('MatConvNet is not compiled. Consider running `vl_compilenn`.');
end

0 comments on commit 16a6d4d

Please sign in to comment.