diff options
Diffstat (limited to 'src/base/statistics.cc')
-rw-r--r-- | src/base/statistics.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/statistics.cc b/src/base/statistics.cc index 4c14bc522..b1b5c927e 100644 --- a/src/base/statistics.cc +++ b/src/base/statistics.cc @@ -221,7 +221,9 @@ Info::baseCheck() const #ifdef DEBUG cprintf("this is stat number %d\n", id); #endif - panic("Not all stats have been initialized"); + panic("Not all stats have been initialized.\n" + "You may need to add <ParentClass>::regStats() to a" + " new SimObject's regStats() function."); return false; } |