From 12dc4fa7e4d481e1fafb9b090b9648b869b4c162 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 22 Mar 2017 10:58:01 +0000 Subject: [PATCH] Fix incorrect reference in .load_matlab_file Fixes #587. --- lib/nmatrix/nmatrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nmatrix/nmatrix.rb b/lib/nmatrix/nmatrix.rb index 6898cc1e..06d731bc 100644 --- a/lib/nmatrix/nmatrix.rb +++ b/lib/nmatrix/nmatrix.rb @@ -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: