Browse Source

msvc

master
John Daily 4 years ago
parent
commit
269b30bea3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Modules/FDEM1D/src/EMEarth1D.cpp

+ 1
- 1
Modules/FDEM1D/src/EMEarth1D.cpp View File

@@ -444,7 +444,7 @@ namespace Lemma {
444 444
                                 #ifdef LEMMAUSEOMP
445 445
                                 #pragma omp for schedule(static, 1)
446 446
                                 #endif
447
-                                for (unsigned int idip=0; idip<Antenna->GetNumberOfDipoles(); ++idip) {
447
+                                for (int idip=0; idip < (int)Antenna->GetNumberOfDipoles(); ++idip) {
448 448
                                     //#pragma omp critical
449 449
                                     //{
450 450
                                     //cout << "idip=" << idip << "\tthread num=" << omp_get_thread_num() << '\n';

Loading…
Cancel
Save