lib/qlang/api/matrix_api.rb in qlang-0.0.27182000 vs lib/qlang/api/matrix_api.rb in qlang-0.0.27182100

- old
+ new

@@ -9,10 +9,10 @@ "matrix(#{VectorApi.execute(rows.flatten)}, #{row_count}, #{column_count}, byrow = TRUE)" when :ruby arys_str = rows.map { |row| "[#{row.join(', ')}]" }.join(', ') "Matrix[#{arys_str}]" else - fail "Matrix is not implemented for #{LANGS_HASH[$meta_info.lang.to_s]}" + fail "Matrix is not implemented for #{$meta_info.lang_str}" end end module_function :execute end end