File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ using Half = float;
3232// / A half vector.
3333class HalfVector {
3434 public:
35- // / Creates a half vector from a `std::vector<pgvector::Half> `.
35+ // / Creates a half vector from a `std::vector`.
3636 explicit HalfVector (const std::vector<Half>& value) : value_{value} {}
3737
38- // / Creates a half vector from a `std::vector<pgvector::Half> `.
38+ // / Creates a half vector from a `std::vector`.
3939 explicit HalfVector (std::vector<Half>&& value) : value_{std::move (value)} {}
4040
4141 // / Creates a half vector from a span.
@@ -46,7 +46,7 @@ class HalfVector {
4646 return value_.size ();
4747 }
4848
49- // / Returns the half vector as a `std::vector<pgvector::Half> `.
49+ // / Returns the half vector as a `std::vector`.
5050 const std::vector<Half>& as_vector () const {
5151 return value_;
5252 }
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ namespace pgvector {
1616// / A vector.
1717class Vector {
1818 public:
19- // / Creates a vector from a `std::vector<float> `.
19+ // / Creates a vector from a `std::vector`.
2020 explicit Vector (const std::vector<float >& value) : value_{value} {}
2121
22- // / Creates a vector from a `std::vector<float> `.
22+ // / Creates a vector from a `std::vector`.
2323 explicit Vector (std::vector<float >&& value) : value_{std::move (value)} {}
2424
2525 // / Creates a vector from a span.
@@ -30,7 +30,7 @@ class Vector {
3030 return value_.size ();
3131 }
3232
33- // / Returns the vector as a `std::vector<float> `.
33+ // / Returns the vector as a `std::vector`.
3434 const std::vector<float >& as_vector () const {
3535 return value_;
3636 }
You can’t perform that action at this time.
0 commit comments