From 37d254ac3a79dc95fac9f1c557d66dbf5dcd91fa Mon Sep 17 00:00:00 2001 From: barcavin Date: Thu, 19 Oct 2023 10:32:11 -0400 Subject: [PATCH] fix --- torch_geometric/data/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch_geometric/data/database.py b/torch_geometric/data/database.py index 56a55f310b01..56844064e831 100644 --- a/torch_geometric/data/database.py +++ b/torch_geometric/data/database.py @@ -409,7 +409,7 @@ def _dummies(self) -> str: def _to_sql_type(self, type_info: Any) -> str: if type_info == int: return 'INTEGER' - if type_info == int: + if type_info == float: return 'FLOAT' if type_info == str: return 'TEXT'