about summary refs log tree commit diff stats
path: root/cpp/012transform
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/012transform')
-rw-r--r--cpp/012transform2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/012transform b/cpp/012transform
index 7a591a87..21bcf60f 100644
--- a/cpp/012transform
+++ b/cpp/012transform
@@ -46,7 +46,7 @@ void parse_int_reagents() {
 }
 
 void populate_value(reagent& r) {
-  if (r.name.empty()) return;
+  if (r.initialized) return;
   char* end = NULL;
   int result = strtol(r.name.c_str(), &end, /*any base*/0);
   if (*end != '\0') return;