ext/torch/device.cpp in torch-rb-0.13.0 vs ext/torch/device.cpp in torch-rb-0.13.1

- old
+ new

@@ -4,10 +4,9 @@ #include "utils.h" void init_device(Rice::Module& m) { Rice::define_class_under<torch::Device>(m, "Device") - .add_handler<torch::Error>(handle_error) .define_constructor(Rice::Constructor<torch::Device, const std::string&>()) .define_method( "index", [](torch::Device& self) { return self.index();