diff --git a/esda/getisord.py b/esda/getisord.py index 6f6205b9..4a921a99 100644 --- a/esda/getisord.py +++ b/esda/getisord.py @@ -559,7 +559,7 @@ def by_col( def _infer_star_and_structure_w(weights, star, transform): assert transform.lower() in ("r", "b"), ( f'Transforms must be binary "b" or row-standardized "r".' - f"Recieved: {transform.upper()}" + f"Recieved: {transform}" ) adj_matrix = weights.sparse diagonal = adj_matrix.diagonal()