python: added __nonzero__ function to SimObject Bool params
Review Request #1129 - Created April 4, 2012 and submitted
Information | |
---|---|
Brad Beckmann | |
gem5 | |
default | |
Reviewers | |
Default | |
Changeset 8931:ff280a178bdf --------------------------- python: added __nonzero__ function to SimObject Bool params
Posted (April 4, 2012, 7:30 p.m.)
-
src/python/m5/params.py (Diff revision 1) -
Why not use getValue()?
A comment along the lines of what you mentioned in the review discussion would be good.
Review request changed
Updated (April 5, 2012, 7:57 a.m.)
Description: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+5) |