Skip to content

Commit

Permalink
fix some issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanhaoji2 committed May 8, 2024
1 parent 6213ae5 commit a2f2d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ void IndexFactory::check_config()
}

if (_config->tag_type != "int32" && _config->tag_type != "uint32" && _config->tag_type != "int64" &&
_config->tag_type != "uint64")
_config->tag_type != "uint64" && _config->tag_type != "tag_uint128")
{
throw ANNException("ERROR: invalid data type : + " + _config->tag_type +
" is not supported. please select from [int32, uint32, int64, uint64]",
" is not supported. please select from [int32, uint32, int64, uint64, tag_uint128]",
-1);
}
}
Expand Down

0 comments on commit a2f2d6b

Please sign in to comment.