[cig-commits] r5137 - in long/3D/Gale/trunk/src/StGermain: .
Discretisation/Geometry/src
walter at geodynamics.org
walter at geodynamics.org
Tue Oct 31 13:30:02 PST 2006
Author: walter
Date: 2006-10-31 13:30:01 -0800 (Tue, 31 Oct 2006)
New Revision: 5137
Modified:
long/3D/Gale/trunk/src/StGermain/
long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/TensorMultMath.c
Log:
r3123 at earth: boo | 2006-10-31 13:26:15 -0800
r3101 at earth (orig r3878): KathleenHumble | 2006-10-25 18:22:04 -0700
removing check to make sure row and colum sizes
were positive, as they are passed in as a Dimension_Index
type, which is an unsigned integer. which means that even if someone
gave it negative values, they would be converteed to large
unsigned ints and not be picked up by this check.
Property changes on: long/3D/Gale/trunk/src/StGermain
___________________________________________________________________
Name: svk:merge
- 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:3122
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3877
+ 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:3123
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3878
Modified: long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/TensorMultMath.c
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/TensorMultMath.c 2006-10-31 21:29:59 UTC (rev 5136)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/src/TensorMultMath.c 2006-10-31 21:30:01 UTC (rev 5137)
@@ -660,13 +660,6 @@
/* For efficency - Check if stream is enabled */
if (!Stream_IsEnable(stream)) return;
-
- /* Check that dimensions are at least positive */
- if ((rowDim < 0 ) || ( colDim < 0)) {
- Journal_Firewall( False, Journal_Register( ErrorStream_Type, "TensorMultMath" ),
- "In func '%s', do not understand dimension(s) %d and /or %d \n",
- __func__, rowDim, colDim);
- }
for ( row_I = 0 ; row_I < rowDim ; row_I++ ) {
for ( col_I = 0 ; col_I < colDim ; col_I++ ) {
More information about the cig-commits
mailing list