diff options
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | src/gensvm_kernel.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 77c2355..45dea72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## Version 0.2.2 + +- Bugfix for RBF kernel + ## Version 0.2.1 - Add support for prediction after grid search @@ -1,4 +1,4 @@ -VERSION=0.2.1 +VERSION=0.2.2 CC=gcc CFLAGS=-Wall -Wno-unused-result -Wsign-compare -Wstrict-prototypes \ -DVERSION=$(VERSION) -g -O3 diff --git a/src/gensvm_kernel.c b/src/gensvm_kernel.c index 190a120..4036203 100644 --- a/src/gensvm_kernel.c +++ b/src/gensvm_kernel.c @@ -173,7 +173,7 @@ void gensvm_kernel_compute(struct GenModel *model, struct GenData *data, model->degree); else if (model->kerneltype == K_RBF) value = gensvm_kernel_dot_rbf(x1, x2, data->m, - model-> gamma); + model->gamma); else if (model->kerneltype == K_SIGMOID) value = gensvm_kernel_dot_sigmoid(x1, x2, data->m, model->gamma, |
