Changes between Version 3 and Version 4 of Ticket #3021, comment 16


Ignore:
Timestamp:
05/01/14 19:15:31 (6 years ago)
Author:
eviatarbach
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3021, comment 16

    v3 v4  
    11Another thought:
    22
    3 The extracting of variables from each element and then sorting by name looks scary, and can give unexpected results (if your vector is `(x1, x10, x2)`, I believe you would get 3 for the divergence instead of 1 as you might expect, due to the alphanumeric sort). Unless there's a better solution, I think we should have it so that the variables list has to always be given explicitly.
     3The extracting of variables from each element and then sorting by name looks scary, and can give unexpected results (if your vector is `(x1, x10, x2)`, I believe you would get 3 for the divergence instead of 1 as you might expect, since `'10'` comes before `'2'` in the alphanumeric sort). Unless there's a better solution, I think we should have it so that the variables list has to always be given explicitly.