lib/nmatrix/blas.rb in nmatrix-0.2.3 vs lib/nmatrix/blas.rb in nmatrix-0.2.4

- old
+ new

@@ -29,11 +29,15 @@ module NMatrix::BLAS #Add functions from C extension to main BLAS module class << self - NMatrix::Internal::BLAS.singleton_methods.each do |m| - define_method m, NMatrix::Internal::BLAS.method(m).to_proc + if jruby? + # BLAS functionalities for JRuby need to be implemented + else + NMatrix::Internal::BLAS.singleton_methods.each do |m| + define_method m, NMatrix::Internal::BLAS.method(m).to_proc + end end end class << self #