ext/torch/utils.h in torch-rb-0.13.2 vs ext/torch/utils.h in torch-rb-0.14.0

- old
+ new

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