Skip to content

Fix det_exact for ruby object#514

Merged
translunar merged 2 commits into
SciRuby:masterfrom
isuruf:detexact
May 23, 2016
Merged

Fix det_exact for ruby object#514
translunar merged 2 commits into
SciRuby:masterfrom
isuruf:detexact

Conversation

@isuruf

@isuruf isuruf commented May 19, 2016

Copy link
Copy Markdown

Fixes #496.

Comment thread spec/math_spec.rb
end
it "computes the determinant of 2x2 matrix" do
expect(@a.det).to be_within(@err).of(-2)
if dtype != :object

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like you're not testing #det with Ruby objects anymore.

@isuruf isuruf May 19, 2016

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not testing #det, only #det_exact. Both were disabled in line 949 before

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh! I see now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants