Skip to content

Commit

Permalink
0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed May 23, 2021
1 parent 6438d6d commit fbc9e26
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.13 2021-05-23T14:55:51+09:00
- Even if given Num (stringified) include "e" the parser doesn't fail now [#54]

0.0.12 2021-05-23T14:07:36+09:00
- Migrate to Github actions [#52]
- Add "or die" at the end of parser process [#51]
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
],
"test-depends": [
],
"version": "0.0.12"
"version": "0.0.13"
}
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.12>;
unit class Algorithm::LibSVM:ver<0.0.13>;

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.12>;
unit class Algorithm::LibSVM::Actions:ver<0.0.13>;

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.12> is Distribution::Builder::MakeFromJSON {
class Algorithm::LibSVM::CustomBuilder:ver<0.0.13> 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.12>;
unit grammar Algorithm::LibSVM::Grammar:ver<0.0.13>;

token TOP { <bodylist> }
token number { '-'* \d+ [ \. \d+ [ 'e' '-'? \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.12> is export is repr('CPointer');
unit class Algorithm::LibSVM::Model:ver<0.0.13> 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.12> is export is repr('CStruct');
unit class Algorithm::LibSVM::Node:ver<0.0.13> 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.12> is export is repr('CStruct');
unit class Algorithm::LibSVM::Parameter:ver<0.0.13> 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.12> is export is repr('CStruct');
unit class Algorithm::LibSVM::Problem:ver<0.0.13> is export is repr('CStruct');

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

0 comments on commit fbc9e26

Please sign in to comment.