瀏覽代碼

msvc

master
John Daily 4 年之前
父節點
當前提交
269b30bea3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Modules/FDEM1D/src/EMEarth1D.cpp

+ 1
- 1
Modules/FDEM1D/src/EMEarth1D.cpp 查看文件

@@ -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…
取消
儲存