[Gridflow-cvs] [svn] commit: r5626 - /trunk/src/number.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon May 10 12:44:40 EDT 2010


Author: matju
Date: Mon May 10 12:44:38 2010
New Revision: 5626

Log:
add working [# C.inv*]

Modified:
    trunk/src/number.cxx

Modified: trunk/src/number.cxx
==============================================================================
--- trunk/src/number.cxx (original)
+++ trunk/src/number.cxx Mon May 10 12:44:38 2010
@@ -282,8 +282,8 @@
 DEF_OP(cx_mulconj, a*conj(b), 1, false, false)
 DEF_OP(cx_div,     b==Plex<T>(0,0) ? T(0) : a/b,       1, false, false)
 DEF_OP(cx_divconj, b==Plex<T>(0,0) ? T(0) : a/conj(b), 1, false, false)
-DEF_OP(cx_vid,     b==Plex<T>(0,0) ? T(0) : b/a,       1, false, false)
-DEF_OP(cx_vidconj, b==Plex<T>(0,0) ? T(0) : conj(b)/a, 1, false, false)
+DEF_OP(cx_vid,     a==Plex<T>(0,0) ? T(0) : b/a,       1, false, false)
+DEF_OP(cx_vidconj, a==Plex<T>(0,0) ? T(0) : conj(b)/a, 1, false, false)
 DEF_OP(cx_sqsub,   cx_sqsub(a,b), 0, false, false)
 DEF_OP(cx_abssub, cx_abssub(a,b), 0, false, false)
 DEF_OP(cx_sin,  sin(a-b),   0, false, false)



More information about the Gridflow-cvs mailing list