Skip to content

Commit 4c0ed06

Browse files
author
Richard Yue
committed
Indentation fix
1 parent 9fde272 commit 4c0ed06

File tree

1 file changed

+1
-1
lines changed
  • native/python/src/fairseq2n/bindings/type_casters

1 file changed

+1
-1
lines changed

native/python/src/fairseq2n/bindings/type_casters/torch.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type_caster<at::Tensor>::load(handle src, bool)
7171
#if TORCH_VERSION_MAJOR < 2 || (TORCH_VERSION_MAJOR == 2 && TORCH_VERSION_MINOR < 10)
7272
value = *reinterpret_cast<THPVariable *>(ptr)->cdata;
7373
#else
74-
value = reinterpret_cast<THPVariable *>(ptr)->cdata;
74+
value = reinterpret_cast<THPVariable *>(ptr)->cdata;
7575
#endif
7676
return true;
7777
}

0 commit comments

Comments
 (0)