Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Song committed Dec 14, 2023
1 parent 4b015be commit e9027ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/graphstorm/gconstruct/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ def call(self, feats):
# raw_ids is a numpy array
# handle empty strings in raw_ids
raw_ids = raw_ids.astype(str)
nid_idx = raw_ids != ""
nid_idx = np.nonzero(raw_ids != "")[0]
nids, _ = nid_map.map_id(raw_ids[nid_idx].astype(
nid_map.map_key_dtype))
neg_ids[i][nid_idx] = nids
Expand Down

0 comments on commit e9027ef

Please sign in to comment.