Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Kosuke Morimoto <[email protected]>
  • Loading branch information
kmrmt committed Aug 16, 2024
1 parent 25e444f commit 8aac629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/core/algorithm/ngt/ngt.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ type (
SearchType string
MaxMagnitude float32
NOfNeighborsForInsertionOrder int32
EpsilonForInsersionOrder float32
EpsilonForInsertionOrder float32
RefinementObjectType objectType
TruncationThreshold int32
EdgeSizeForCreation int32
Expand Down Expand Up @@ -1180,7 +1180,7 @@ func (n *ngt) GetProperty() (prop *Property, err error) {
SearchType: C.GoString(cprop.search_type),
MaxMagnitude: float32(cprop.max_magnitude),
NOfNeighborsForInsertionOrder: int32(cprop.n_of_neighbors_for_insertion_order),
EpsilonForInsersionOrder: float32(cprop.epsilon_for_insertion_order),
EpsilonForInsertionOrder: float32(cprop.epsilon_for_insertion_order),
RefinementObjectType: objectType(cprop.refinement_object_type),
TruncationThreshold: int32(cprop.truncation_thread_pool_size),
EdgeSizeForCreation: int32(cprop.edge_size_for_creation),
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/core/ngt/service/ngt.go
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ func (n *ngt) IndexProperty() (*payload.Info_Index_Property, error) {
SearchType: prop.SearchType,
MaxMagnitude: prop.MaxMagnitude,
NOfNeighborsForInsertionOrder: prop.NOfNeighborsForInsertionOrder,
EpsilonForInsertionOrder: prop.EpsilonForInsersionOrder,
EpsilonForInsertionOrder: prop.EpsilonForInsertionOrder,
RefinementObjectType: prop.RefinementObjectType.String(),
TruncationThreshold: prop.TruncationThreshold,
EdgeSizeForCreation: prop.EdgeSizeForCreation,
Expand Down

0 comments on commit 8aac629

Please sign in to comment.