Skip to content
Snippets Groups Projects
Commit 4838b052 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Minor updates

parent e659074a
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,12 @@ class restore_qtype_stack_plugin extends restore_qtype_plugin {
foreach($questions as $q) {
$qnames[] = $q->name;
}
throw new coding_exception('The PRT named "' . $prt->name . '" is malformed in question id '.$prt->questionid.', question named "'.implode(', ',$qnames).'".');
if (count($roots) != 1) {
$err = 'abnormal root count: '.count($roots).'(<>1)';
} else {
$err = 'broken cycles: '.implode('.', $graph->get_broken_cycles());
}
throw new coding_exception('The PRT named "' . $prt->name . '" is malformed in question id '.$prt->questionid.', question named "'.implode(', ',$qnames).'". Error reported: '.$err);
}
reset($roots);
$firstnode = key($roots) - 1;
......
......@@ -48,7 +48,8 @@ The following features are in approximate priority order. How to report bugs an
* MapleTA
* Possible Maxima packages:
* Better support for rational expressions, in particular really firm up the PartFrac and SingleFrac functions with better support.
* Package for scientific [units](../Authoring/Units.md), and a science answer test
* Package for scientific [units](../Authoring/Units.md), and a science answer test.
* Support for inequalities. This includes real intervals and sets of real numbers.
* Support for the "draw" package.
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment