Conversation
6823063 to
95c6ea2
Compare
|
@isuruf @certik There are still around 30 or so remaining instances of static_cast() use in the symengine directory (apart from the utilities) after these commits. Some 5-6 are cases of type conversions, whereas the rest are raising issues (I have individually tried every one of them). Some example errors are: I would like to update #1139 and not fiddle with the code-base any further. Please take a look, and suggest me any changes. |
|
Nice. It's good that |
|
It looks like there are some const issues. One should be using a const_cast or something like that to cast away constness if needed. |
ODictWrapper doesn't have virtual functions and hence not polymorphic
|
@isuruf If the work is complete, then we should get this merged. |
|
ping @isuruf |
Additional Fixes for symengine#1139
Some more simple fixes for #1139.
The commits currently cover:
Additionally, I feel that our use of static_cast() in the following files is essential, as only type conversions are done there, (and no Base-to-Derived or Derived-to-Base pointer changes):