Rev | Line | |
---|
[24307] | 1 | Index: ../trunk-jpl/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp (revision 24169)
|
---|
| 4 | +++ ../trunk-jpl/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp (revision 24170)
|
---|
| 5 | @@ -66,7 +66,7 @@
|
---|
| 6 |
|
---|
| 7 | //_printf_("nrows: " << nrows << " numberofvertices: " << numberofvertices << " qmu_npart: " << qmu_npart << "\n");
|
---|
| 8 |
|
---|
| 9 | - if (nrows==numberofvertices | nrows==numberofvertices+1){
|
---|
| 10 | + if (nrows==numberofvertices | nrows==(numberofvertices+1)){
|
---|
| 11 | for(k=0;k<numberofvertices;k++){
|
---|
| 12 | for(l=0;l<ncols;l++){
|
---|
| 13 | *(parameter+ncols*k+l)=*(parameter+ncols*k+l)*distributed_values[(int)qmu_vpart[k]];
|
---|
| 14 | @@ -73,7 +73,7 @@
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
| 17 | }
|
---|
| 18 | - else if (nrows==numberofelements | nrows==numberofelements+1){
|
---|
| 19 | + else if (nrows==numberofelements | nrows==(numberofelements+1)){
|
---|
| 20 | for(k=0;k<numberofelements;k++){
|
---|
| 21 | for(l=0;l<ncols;l++){
|
---|
| 22 | *(parameter+ncols*k+l)=*(parameter+ncols*k+l)*distributed_values[(int)qmu_epart[k]];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.