- changed status to open
- removed comment
Vectors: allow seamless interaction with scalar types
Issue #2216
closed
- Vectors: allow implicit cast from scalar_t
- Vectors: provide binary operations with scalars
one needs both
operatorX(T, vectype<T>)
and
operatorX(vectype<T>, T)
for both commuting and non-commuting operators
Pull request is here: https://bitbucket.org/cactuscode/cactusutils/pull-requests/16/rhaas-inclict-conv/diff
Keyword: Vectors
Comments (6)
-
reporter -
- removed comment
I see you define operators for
+
and*
. What about subtraction and division? -
reporter - removed comment
Erik says (offline communication): "please apply".
-
reporter - changed status to open
- removed comment
-
reporter - changed status to resolved
- removed comment
Applied as git hash cf7053e "Vectors: make all conversion ops templates" of cactusutils.
-
reporter - edited description
- changed status to closed
- Log in to comment