[ww-bugs] Bug 3435: warning about problem code
bugzilla-daemon at webwork.maa.org
bugzilla-daemon at webwork.maa.org
Sun Sep 20 16:50:06 EDT 2015
http://bugs.webwork.maa.org/show_bug.cgi?id=3435
--- Comment #2 from Davide P. Cervone <dpvc at union.edu> 2015-09-20 16:50:05 ---
The problem should not be included in the library. This problem uses
includeRandomProblem() to include a collection of other problems in random
order. So it is a meta problem, in a sense. They are usually included several
times in a problem set (each invocation will include a different random problem
from the list, guaranteeing no repeated problems). Such problems need to be
set up specifically for the problem set in which they are used, since they must
include the problem number of the first time they are included in the set.
This one indicates that the first use in the set is as problem 11. If you try
to run this as a single problem (or as a problem at a different location in the
problem set), then it will fail.
I suppose the macro could give a more helpful error message in that case.
--
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the webwork-bugs
mailing list