rb-libsvm 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -21,7 +21,7 @@ this gem. You should install the original package if you need them.
21
21
  It is helpful to consult the [README][] of the LIBSVM package for
22
22
  reference when configuring the training parameters.
23
23
 
24
- Currently this package includes libsvm version 3.14.
24
+ Currently this package includes libsvm version 3.16.
25
25
 
26
26
  ## Dependencies
27
27
 
@@ -79,13 +79,13 @@ gem's name (`rb-libsvm`).
79
79
 
80
80
  ## Author
81
81
 
82
- Written by C. Florian Ebeling.
82
+ Written by [C. Florian Ebeling](https://github.com/febeling).
83
83
 
84
84
  ## Contributors
85
85
 
86
- [Rimas Silkaitis](https://github.com/neovintage)
87
- [Aleksander Pohl](https://github.com/apohllo)
88
- [Andreas Eger](https://github.com/sch1zo)
86
+ * [Rimas Silkaitis](https://github.com/neovintage)
87
+ * [Aleksander Pohl](https://github.com/apohllo)
88
+ * [Andreas Eger](https://github.com/sch1zo)
89
89
 
90
90
  ## License
91
91
 
data/ext/libsvm/svm.cpp CHANGED
@@ -2973,6 +2973,9 @@ void svm_free_model_content(svm_model* model_ptr)
2973
2973
  free(model_ptr->probB);
2974
2974
  model_ptr->probB= NULL;
2975
2975
 
2976
+ free(model_ptr->sv_indices);
2977
+ model_ptr->sv_indices = NULL;
2978
+
2976
2979
  free(model_ptr->nSV);
2977
2980
  model_ptr->nSV = NULL;
2978
2981
  }
data/ext/libsvm/svm.h CHANGED
@@ -1,7 +1,7 @@
1
1
  #ifndef _LIBSVM_H
2
2
  #define _LIBSVM_H
3
3
 
4
- #define LIBSVM_VERSION 314
4
+ #define LIBSVM_VERSION 316
5
5
 
6
6
  #ifdef __cplusplus
7
7
  extern "C" {
@@ -1,3 +1,3 @@
1
1
  module Libsvm
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-libsvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-23 00:00:00.000000000 Z
13
+ date: 2013-02-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake-compiler
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  requirements: []
101
101
  rubyforge_project: rb-libsvm
102
- rubygems_version: 1.8.23
102
+ rubygems_version: 1.8.25
103
103
  signing_key:
104
104
  specification_version: 3
105
105
  summary: Ruby language bindings for LIBSVM