Skip to content

Commit

Permalink
Added implementation pending message for jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
npriyadarshi committed Mar 9, 2017
1 parent e46c3ce commit 93b6725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/math_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,15 @@
end

it "should correctly find exact inverse" do
pending("not yet implemented for NMatrix-JRuby") if jruby?
a = NMatrix.new(:dense, 3, [1,2,3,0,1,4,5,6,0], dtype)
b = NMatrix.new(:dense, 3, [-24,18,5,20,-15,-4,-5,4,1], dtype)

expect(a.invert_exact).to be_within(err).of(b)
end

it "should correctly find exact inverse" do
pending("not yet implemented for NMatrix-JRuby") if jruby?
a = NMatrix.new(:dense, 2, [1,3,3,8,], dtype)
b = NMatrix.new(:dense, 2, [-8,3,3,-1], dtype)

Expand Down

0 comments on commit 93b6725

Please sign in to comment.