diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-09-01 09:35:48 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-09-01 09:35:48 -0500 |
commit | 849bad7ad7c8b483d02b317e7f6ecf0c1292a48d (patch) | |
tree | 28fdc3bb5fcd3f998df8aaa382beee359116d182 /src/mem/ruby/config/cfg.rb | |
parent | 15aa18057030e00535b6c6df7649f73e6b794d50 (diff) | |
download | gem5-849bad7ad7c8b483d02b317e7f6ecf0c1292a48d.tar.xz |
ruby: fixed config assertion failure
Diffstat (limited to 'src/mem/ruby/config/cfg.rb')
-rw-r--r-- | src/mem/ruby/config/cfg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/config/cfg.rb b/src/mem/ruby/config/cfg.rb index 445bb4885..16d658a4c 100644 --- a/src/mem/ruby/config/cfg.rb +++ b/src/mem/ruby/config/cfg.rb @@ -11,7 +11,7 @@ end def assert(condition,message) unless condition - raise AssertionFailure, "\n\nAssertion failed: \n\n #{message}\n\n" + raise AssertionFailure.new(message), "\n\nAssertion failed: \n\n #{message}\n\n" end end |