diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-18 22:09:31 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-18 22:09:31 -0700 |
commit | 9cc16d04958753a62474d13bd823f13a33a6a0a3 (patch) | |
tree | 2fc4b37f8fda0d8ac7662cdf5cf05a942b428f45 /cpp/012transform | |
parent | b1299d632715669c90dde918f5522c776b853e66 (diff) | |
download | mu-9cc16d04958753a62474d13bd823f13a33a6a0a3.tar.gz |
956
Cleaner way to signal that a reagent's value has been computed.
Diffstat (limited to 'cpp/012transform')
-rw-r--r-- | cpp/012transform | 2 |
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; |