Fix/solverprecision#9
Conversation
syaskovets
left a comment
There was a problem hiding this comment.
Which use case problem does it solve? In this implementation the point expression and the other operand T d either have the same type, or the type of the operand is implicitly converted to double (which works for all base types). I don't see why it has to be compared with float here
The Dcpse class uses point expressions which ambiguously match for the division operator to both cases when the type is Float, resulting in compilation failure when compiling float versions. |
|
Could you please provide a reproducible example? I would like to understand the issue and fix it for all point_expression_op's. For now it seems adding |
Compiling the above results in: |
Allowing for petsc to work in float and double both