mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-05 00:51:55 +01:00
Compare commits
2 Commits
df454637df
...
0955872637
Author | SHA1 | Date | |
---|---|---|---|
|
0955872637 | ||
|
21aa91fef7 |
@ -27,13 +27,12 @@ public class AlignedTableFloat32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void delete() {
|
public synchronized void delete() {
|
||||||
if (swigCPtr != 0) {
|
if (swigCPtr == 0) return;
|
||||||
if (swigCMemOwn) {
|
if (swigCMemOwn) {
|
||||||
swigCMemOwn = false;
|
swigCMemOwn = false;
|
||||||
swigfaissJNI.delete_AlignedTableFloat32(swigCPtr);
|
swigfaissJNI.delete_AlignedTableFloat32(swigCPtr);
|
||||||
}
|
|
||||||
swigCPtr = 0;
|
|
||||||
}
|
}
|
||||||
|
swigCPtr = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t value) {
|
public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user