Permalink
Browse files

mcmmodel: add extra initial token for feedback channels

  • Loading branch information...
1 parent e3f65be commit e24a405568c9224d30b65da27bff0680ab032e37 @svenvh committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mcmmodel.cc
View
@@ -198,7 +198,7 @@ void McmModelDumper::dump(std::ostream& strm) {
channelSize = (1+dep->value_size->v) * getDependenceCardinality(dep);
}
else if (channelTypes[i] == FEEDBACK) {
- channelSize = getFeedbackChannelSize(dep) * getDependenceCardinality(dep);
+ channelSize = (1+getFeedbackChannelSize(dep)) * getDependenceCardinality(dep);
}
}
else {

0 comments on commit e24a405

Please sign in to comment.