|
[Sponsors] |
compile warning: array subscript is above array bounds |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 31, 2013, 00:54 |
compile warning: array subscript is above array bounds
|
#1 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
Hi,
When I compile the source, I got this warning. In grid_movement_structure.hpp, line 680: 680 double Klin_mat[4][4]; but in grid_movement_structure.cpp, line 460-465: iVar=0,1,2 jVar=0,1,2 Klin_mat[iVar+3][jVar+3] is Klin_mat[5][5] Regards, Cean |
|
February 1, 2013, 01:40 |
|
#2 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
Thanks for the heads up, Cean. Just changed this in the source code, .
|
|
February 1, 2013, 02:39 |
|
#3 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
||
February 4, 2013, 23:58 |
|
#4 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
No worries, this change will not affect your simulation.
Anyway, we are gonna upload every month a SU2 version-of-the-month. Cheers, Francisco |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
foamToTecplot360 | thomasduerr | OpenFOAM Post-Processing | 121 | June 11, 2021 10:05 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |