getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] r5228 - /trunk/getfem/src/getfem_models.cc


From: Yves . Renard
Subject: [Getfem-commits] r5228 - /trunk/getfem/src/getfem_models.cc
Date: Sun, 24 Jan 2016 09:00:04 -0000

Author: renard
Date: Sun Jan 24 10:00:03 2016
New Revision: 5228

URL: http://svn.gna.org/viewcvs/getfem?rev=5228&view=rev
Log:
a fix for complex version of models

Modified:
    trunk/getfem/src/getfem_models.cc

Modified: trunk/getfem/src/getfem_models.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_models.cc?rev=5228&r1=5227&r2=5228&view=diff
==============================================================================
--- trunk/getfem/src/getfem_models.cc   (original)
+++ trunk/getfem/src/getfem_models.cc   Sun Jan 24 10:00:03 2016
@@ -2696,7 +2696,7 @@
                   GMM_ASSERT1(version & BUILD_MATRIX, "Rhs only for a "
                               "symmetric linear problem with dof "
                               "constraint not allowed");
-                  model_complex_plain_vector vv(gmm::vect_size(rrhs));
+                  model_complex_plain_vector vv(gmm::vect_size(crhs));
                   gmm::mult(gmm::sub_matrix(cTM, II, SI), dof_go_values, vv);
                   MPI_SUM_VECTOR(vv);
                   gmm::add(gmm::scaled(vv, scalar_type(-1)), crhs);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]