mode_compute = FUNCTION triggers error

Created by: MichaelSpece

Using a function as a value for mode_compute triggers an error in dynare_estimation due to its use of options_.mode_compute as a logical value whereas the function value is represented as a string:

Operands to the || and && operators must be convertible to logical scalar values.

Suggested labels: bug, estimation