The expression that caused this was 16*sin(u)*vector(sin(u)*cos(v),sin(u)*sin(v),cos(u)).
The infer_variable_types is supposed to find an assignment of types to the free variables in the expression so that it can be evaluated. There are only two free variables in the above expression, so it shouldn't take long to find a good assignment. In fact, any number type will do.
The expression that caused this was
16*sin(u)*vector(sin(u)*cos(v),sin(u)*sin(v),cos(u))
.The
infer_variable_types
is supposed to find an assignment of types to the free variables in the expression so that it can be evaluated. There are only two free variables in the above expression, so it shouldn't take long to find a good assignment. In fact, any number type will do.