Changes between Initial Version and Version 1 of Ticket #8734, comment 61
 Timestamp:
 07/02/14 15:13:31 (7 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #8734, comment 61
initial v1 1 After studying this in detail, the reason why the last change makes no difference is the following: in `desolve` and `desolve_laplace` the translation to Maxima is applied several times using `maxima() ?` and `P()` (which is the parent of the first translation result, i.e. of a Maxima expression). `P()` is also applied to `dvar.operator()` resulting in `dvar_str` which already has `_SAGE_VAR_` and is template for sanitization. Appending `_SAGE_VAR_` to `dvar_str` and replacing it thus was useless.1 After studying this in detail, the reason why the last change makes no difference is the following: in `desolve` and `desolve_laplace` the translation to Maxima is applied several times using `maxima()` and `P()` (which is the parent of the first translation result, i.e. of a Maxima expression). `P()` is also applied to `dvar.operator()` resulting in `dvar_str` which already has `_SAGE_VAR_` and is template for sanitization. Appending `_SAGE_VAR_` to `dvar_str` and replacing it thus was useless. 2 2 3 3 In `desolve_rk4` the `cmd` is constructed from two parts: the `de0` that gets translated via `._maxima()_` and the construction via string concatenation. So, there is no difference between `desolve` and `desolve_rk4` because `desolve` gets `_SAGE_VAR_` everywhere and `desolve_rk4` too.