Mercurial > hg > Papers > 2018 > nozomi-master
comparison paper/src/assert.c @ 118:05068a4d0b52
Fix specification
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 13 Feb 2017 17:39:10 +0900 |
parents | 4b26c8020229 |
children |
comparison
equal
deleted
inserted
replaced
117:1a9c04ea28fb | 118:05068a4d0b52 |
---|---|
1 void verifySpecification(struct Context* context, struct Tree* tree) { | 1 __code verifySpecificationFinish(struct Context* context) { |
2 assert(!(maxHeight(tree->root, 1) > 2*minHeight(tree->root, 1))); | 2 if (context->data[AkashaInfo]->akashaInfo.maxHeight > 2*context->data[AkashaInfo]->akashaInfo.minHeight) { |
3 goto meta(context, EnumerateInputs); | 3 context->next = Exit; |
4 goto meta(context, ShowTrace); | |
5 } | |
6 goto meta(context, DuplicateIterator); | |
4 } | 7 } |