Skip to content

Commit

Permalink
Fixed missing 'end'
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier SM committed Nov 17, 2017
1 parent 98960fe commit f1bc33e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Algorithms/libsvm-weights-3.12/matlab/make.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ function make(opt)
try
% This part is for OCTAVE
if (exist ('OCTAVE_VERSION', 'builtin'))
if ispc
setenv('CFLAGS','-std=c99 -O3')
setenv('CC','gcc')
else
setenv('CFLAGS','-std=c99 -O3 -fstack-protector-strong -Wformat -Werror=format-security')
if ispc
setenv('CFLAGS','-std=c99 -O3')
setenv('CC','gcc')
else
setenv('CFLAGS','-std=c99 -O3 -fstack-protector-strong -Wformat -Werror=format-security')
end
mex libsvmread.c
mex libsvmwrite.c
mex -I.. svmtrain.c ../svm.cpp svm_model_matlab.c
Expand Down

0 comments on commit f1bc33e

Please sign in to comment.