From 0f125d5ff163fafbf5531ce9f54f1021f0277b10 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 16 May 2015 21:24:21 -0700 Subject: 1387 --- 044space_surround.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '044space_surround.cc') diff --git a/044space_surround.cc b/044space_surround.cc index b2c04213..445be78c 100644 --- a/044space_surround.cc +++ b/044space_surround.cc @@ -45,7 +45,7 @@ index_t space_index(const reagent& x) { for (index_t i = 0; i < x.properties.size(); ++i) { if (x.properties.at(i).first == "space") { assert(x.properties.at(i).second.size() == 1); - return to_number(x.properties.at(i).second.at(0)); + return to_integer(x.properties.at(i).second.at(0)); } } return 0; -- cgit 1.4.1-2-gfad0