WeBWorK Main Forum

errors in answer blanks in webwork 2.7

errors in answer blanks in webwork 2.7

by Darwyn Cook -
Number of replies: 1
We are using a brand new install of 2.7 installed from vanilla live. We have been having some issues with problems that we have used several times in the past. So far I have been able to fix them, but this one has me stumped.

Unfortunately it is a long problem, but I will paste the code and output below. This issue we are having is that a student is typing in a numeric answer, but WeBWorK is interpreting it as an interval.

Here is the students answer:



In reply to Darwyn Cook

Re: errors in answer blanks in webwork 2.7

by Darwyn Cook -
Well the stuff I pasted in to my post doesn't seem to have made it. Pretty sure I tracked down the source of my trouble, it's in the following code block:

\[
\begin{align}
y=
&c_0\left(\hbox{\{ ans_rule(2) \}}+\hbox{\{ ans_rule(5) \}}x^2+\hbox{\{ ans_rule(5) \}}x^3+\hbox{\{ ans_rule(5) \}}x^4+\cdots\right)\\
&+\\
&c_1\left(\hbox{\{ ans_rule(5) \}}x+\hbox{\{ ans_rule(5) \}}x^2+\hbox{\{ ans_rule(5) \}}x^3+\hbox{\{ ans_rule(5) \}}x^4+\cdots\right)
\end{align}
\]


If I remove the align environment then everything seems to work.