Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
manishshettym committed Feb 23, 2024
1 parent 993f4f3 commit bcd49be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codescholar/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def main(args):
else:
prog_indices = grep_programs(args, args.seed)[: args.prog_samples]

if len(prog_indices) > 0:
if len(prog_indices) == 0:
return

# load all embeddings of prog_indices to redis
Expand Down

0 comments on commit bcd49be

Please sign in to comment.