Changes between Initial Version and Version 1 of Ticket #2265
- Timestamp:
- 2013-06-27T09:36:47Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2265
- Property Cc added
-
Ticket #2265 – Description
initial v1 1 1 Simplify missing for {{{der(x1) }}} in 2 2 3 {{{ 3 {{{#!mo 4 4 model missingSimplify 5 6 Real x1(start = 1, fixed = true); 7 Real x1_dummy; 8 Real x2(start = 1); 9 Real x3(start = 1); 5 Real x1(start = 1, fixed = true); 6 Real x1_dummy; 7 Real x2(start = 1); 8 Real x3(start = 1); 10 9 equation 11 12 13 14 10 x1_dummy = x1; 11 der(x1) = sin(x1_dummy)/x1 - sin(x1)/x1; /* != 0 (don't work) */ 12 der(x2) = sin(x1)/x1 - sin(x1)/x1; /* = 0 */ 13 der(x3) = x1_dummy - x1; /* = 0 */ 15 14 end missingSimplify; 16 15 }}} … … 18 17 with {{{ der(x2) = der(x1) }}}. So simplify should work for {{{ der(x1) }}} too. 19 18 Here the C code: 20 {{{ 19 {{{#!c 21 20 /* 22 21 equation index: 3