Skip to content

Commit 930bdc7

Browse files
committed
Fix bug in compilation script for Octave
1 parent 8fc6a65 commit 930bdc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mex/cpfloat_compile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
setenv("CXX", compilerpath);
6565
setenv("DL_LD", compilerpath);
6666
end
67-
if ~isempty(compilerpath)
67+
if ~isempty(cpfloatdir)
6868
coptions = sprintf('%s -I%s', coptions, cpfloatdir)
6969
end
7070
setenv("CFLAGS", sprintf("-fopenmp %s", coptions));

0 commit comments

Comments
 (0)