ext/torch/utils.h in torch-rb-0.17.1 vs ext/torch/utils.h in torch-rb-0.18.0

- old
+ new

@@ -4,10 +4,10 @@ #include <rice/rice.hpp> #include <rice/stl.hpp> static_assert( - TORCH_VERSION_MAJOR == 2 && TORCH_VERSION_MINOR == 4, + TORCH_VERSION_MAJOR == 2 && TORCH_VERSION_MINOR == 5, "Incompatible LibTorch version" ); inline void handle_global_error(const torch::Error& ex) { throw Rice::Exception(rb_eRuntimeError, ex.what_without_backtrace());