mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 16:58:38 +00:00
Improved CreateStateDatums [skip ci]
This commit is contained in:
1 parent
1be6148eca
commit
e6bd4c8acf
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -32,7 +32,7 @@
|
||||
#endif
|
||||
|
||||
#define STATE_DIMS(x) (ARR_DIMS(x)[0] - 1)
|
||||
#define CreateStateDatums(dim) palloc_array(Datum, (dim + 1))
|
||||
#define CreateStateDatums(dim) palloc_array(Datum, (dim) + 1)
|
||||
|
||||
/*
|
||||
* Get a half from a message buffer
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
#endif
|
||||
|
||||
#define STATE_DIMS(x) (ARR_DIMS(x)[0] - 1)
|
||||
#define CreateStateDatums(dim) palloc_array(Datum, (dim + 1))
|
||||
#define CreateStateDatums(dim) palloc_array(Datum, (dim) + 1)
|
||||
|
||||
#if defined(USE_TARGET_CLONES) && !defined(__FMA__)
|
||||
#define VECTOR_TARGET_CLONES __attribute__((target_clones("default", "fma")))
|
||||
|
||||
Reference in new issue
Block a user