somaticio / tensorflow.rb

tensorflow for ruby
BSD 3-Clause "New" or "Revised" License
827 stars 66 forks source link

Replace if/else with case/when #30

Closed sebastiandeutsch closed 8 years ago

sebastiandeutsch commented 8 years ago

I've replaced two if/else with case/when in find_typeand ruby_array_to_c.

nethsix commented 8 years ago

@sebastiandeutsch @Arafatk Reviewed. Looks good! Left a comment about whitespace.

arafatkatze commented 8 years ago

@nethsix @sebastiandeutsch Thanks guys.