From: whitequark Date: Wed, 5 Dec 2018 19:12:02 +0000 (+0000) Subject: opt_lut: simplify type conversion. NFC. X-Git-Tag: yosys-0.9~386^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88217d0157a1dd11a8151542adaed5d0a1c90149;p=yosys.git opt_lut: simplify type conversion. NFC. --- diff --git a/passes/opt/opt_lut.cc b/passes/opt/opt_lut.cc index befe346a3..3c4cb95bb 100644 --- a/passes/opt/opt_lut.cc +++ b/passes/opt/opt_lut.cc @@ -58,7 +58,7 @@ struct OptLutWorker } } - return lut_table.extract(lut_index).as_int(); + return lut_table.extract(lut_index).as_bool(); } void show_stats_by_arity()