Skip to content

Commit

Permalink
format fix, comparing datatype
Browse files Browse the repository at this point in the history
Signed-off-by: kta-intel <[email protected]>
  • Loading branch information
kta-intel committed Nov 18, 2024
1 parent 5794b70 commit 34f7d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfl/federated/task/runner_xgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def check_precision_loss(logger, converted_data, original_data):
reconstructed_json = reconstructed_bytes.decode("utf-8")
reconstructed_data = json.loads(reconstructed_json)

assert type(original_data) == type(
assert type(original_data) is type(
reconstructed_data
), "Reconstructed datatype does not match original."

Expand Down

0 comments on commit 34f7d8a

Please sign in to comment.