Skip to content

Commit

Permalink
0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Dec 17, 2019
1 parent 1a05525 commit 273e6dd
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Revision history for Algorithm-LibSVM

{{$NEXT}}

0.0.10 2019-12-18T07:57:34+09:00
- Add CustomBuilder into build-depends

0.0.9 2019-10-27T22:25:03+09:00
- load-problem takes into account comment lines [#46]

Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"source-url" : "git://github.com/titsuki/p6-Algorithm-LibSVM.git",
"tags" : [ ],
"test-depends" : [ ],
"version" : "0.0.9"
"version" : "0.0.10"
}
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Algorithm::LibSVM::Model;
use Algorithm::LibSVM::Grammar;
use Algorithm::LibSVM::Actions;

unit class Algorithm::LibSVM:ver<0.0.9>;
unit class Algorithm::LibSVM:ver<0.0.10>;

has Int $.nr-feature;

Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Actions.pm6
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use v6;
unit class Algorithm::LibSVM::Actions:ver<0.0.9>;
unit class Algorithm::LibSVM::Actions:ver<0.0.10>;

method TOP($/) { make $<bodylist>.made }
method bodylist($/) { make $<body>>>.made }
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/CustomBuilder.pm6
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use LibraryMake;
use Distribution::Builder::MakeFromJSON;

class Algorithm::LibSVM::CustomBuilder:ver<0.0.9> is Distribution::Builder::MakeFromJSON {
class Algorithm::LibSVM::CustomBuilder:ver<0.0.10> is Distribution::Builder::MakeFromJSON {
method build(IO() $work-dir = $*CWD) {
my $workdir = ~$work-dir;
my $srcdir = "$workdir/src";
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Grammar.pm6
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use v6;
unit grammar Algorithm::LibSVM::Grammar:ver<0.0.9>;
unit grammar Algorithm::LibSVM::Grammar:ver<0.0.10>;

token TOP { <bodylist> }
token number { '-'* \d+ [ \. \d+ ]? }
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Model.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use NativeCall;
use Algorithm::LibSVM::Node;
use Algorithm::LibSVM::Parameter;

unit class Algorithm::LibSVM::Model:ver<0.0.9> is export is repr('CPointer');
unit class Algorithm::LibSVM::Model:ver<0.0.10> is export is repr('CPointer');

my constant $library = %?RESOURCES<libraries/svm>.Str;

Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Node.pm6
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use v6;

unit class Algorithm::LibSVM::Node:ver<0.0.9> is export is repr('CStruct');
unit class Algorithm::LibSVM::Node:ver<0.0.10> is export is repr('CStruct');

has int32 $.index;
has num64 $.value;
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Parameter.pm6
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use v6;
use NativeCall;

unit class Algorithm::LibSVM::Parameter:ver<0.0.9> is export is repr('CStruct');
unit class Algorithm::LibSVM::Parameter:ver<0.0.10> is export is repr('CStruct');

my constant $library = %?RESOURCES<libraries/svm>.Str;

Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Problem.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;
use NativeCall;
use Algorithm::LibSVM::Node;

unit class Algorithm::LibSVM::Problem:ver<0.0.9> is export is repr('CStruct');
unit class Algorithm::LibSVM::Problem:ver<0.0.10> is export is repr('CStruct');

has int32 $.l;
has CArray[num64] $!y;
Expand Down

0 comments on commit 273e6dd

Please sign in to comment.