mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix a typo
This commit is contained in:
parent
76507bfc3d
commit
773afeb73d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ describe "Matrix.unitary?" do
|
||||||
end
|
end
|
||||||
|
|
||||||
ruby_version_is '2.8' do # matrix v0.3.0
|
ruby_version_is '2.8' do # matrix v0.3.0
|
||||||
it "returns false for non unitary matrix" do
|
it "returns true for non unitary matrix" do
|
||||||
Matrix[[0, Complex(0, 1)], [Complex(0, -1), 0]].unitary?.should == true
|
Matrix[[0, Complex(0, 1)], [Complex(0, -1), 0]].unitary?.should == true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue