ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/openbabel/matrix3x3.cpp
(Generate patch)

Comparing trunk/src/openbabel/matrix3x3.cpp (file contents):
Revision 778 by gezelter, Fri Dec 2 20:11:25 2005 UTC vs.
Revision 819 by tim, Fri Dec 16 21:52:50 2005 UTC

# Line 181 | Line 181 | void matrix3x3::SetColumn(int col, const vector3 &v)
181   {
182      if (col > 2)
183      {
184 <        obErrorLog.ThrowError(__FUNCTION__,
184 >        obErrorLog.ThrowError(__func__,
185                                "The method was called with col > 2.", obError);
186      }
187  
# Line 194 | Line 194 | void matrix3x3::SetRow(int row, const vector3 &v)
194   {
195      if (row > 2)
196      {
197 <        obErrorLog.ThrowError(__FUNCTION__,
197 >        obErrorLog.ThrowError(__func__,
198                                "The method was called with row > 2.", obError);
199      }
200  
# Line 207 | Line 207 | vector3 matrix3x3::GetColumn(unsigned int col)
207   {
208      if (col > 2)
209      {
210 <        obErrorLog.ThrowError(__FUNCTION__,
210 >        obErrorLog.ThrowError(__func__,
211                                "The method was called with col > 2.", obError);
212      }
213  
# Line 218 | Line 218 | vector3 matrix3x3::GetRow(unsigned int row)
218   {
219      if (row > 2)
220      {
221 <        obErrorLog.ThrowError(__FUNCTION__,
221 >        obErrorLog.ThrowError(__func__,
222                                "The method was called with row > 2.", obError);
223      }
224  
# Line 291 | Line 291 | matrix3x3 matrix3x3::inverse(void)
291      double det = determinant();
292      if (fabs(det) <= 1e-6)
293      {
294 <        obErrorLog.ThrowError(__FUNCTION__,
294 >        obErrorLog.ThrowError(__func__,
295                                "The method was called on a matrix with |determinant| <= 1e-6.", obError);
296      }
297  
# Line 431 | Line 431 | matrix3x3 matrix3x3::findEigenvectorsIfSymmetric(vecto
431  
432      if (!isSymmetric())
433      {
434 <        obErrorLog.ThrowError(__FUNCTION__,
434 >        obErrorLog.ThrowError(__func__,
435                                "The method was called on a matrix that was not symmetric, i.e. where isSymetric() == false.", obError);
436      }
437  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines