Skip to content

Commit 5c0daa3

Browse files
committed
Fixed bug in llpredict.c dependency (caused compilation fail on 2015a / MSVC2010).
1 parent 832489c commit 5c0daa3

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
any(cellfun(@exist,{'llpredict'})==3)
15.5 KB
Binary file not shown.
Binary file not shown.

dependencies/liblinear-2.01/matlab/llpredict.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ typedef int mwIndex;
1616

1717
#define Malloc(type,n) (type *)malloc((n)*sizeof(type))
1818

19-
int print_null(const char *s,...) {}
19+
int print_null(const char *s,...) { return 0; }
2020
int (*info)(const char *fmt,...);
2121

2222
int col_format_flag;

0 commit comments

Comments
 (0)