Skip to content

Commit

Permalink
Fix incorrect reference in .load_matlab_file (#592)
Browse files Browse the repository at this point in the history
Fixes #587.
  • Loading branch information
alyssais authored and translunar committed May 8, 2017
1 parent a98d7fd commit a0200a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nmatrix/nmatrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class << self
# * *Returns* :
# - A Mat5Reader object.
def load_matlab_file(file_path)
NMatrix::IO::Mat5Reader.new(File.open(file_path, 'rb')).to_ruby
NMatrix::IO::Matlab::Mat5Reader.new(File.open(file_path, 'rb')).to_ruby
end

# call-seq:
Expand Down

0 comments on commit a0200a4

Please sign in to comment.