浏览代码

Fixed small bug that prevented compilation.

Ovidio Peña Rodríguez 9 年之前
父节点
当前提交
762bb5e0ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/nmie.h

+ 1 - 1
src/nmie.h

@@ -95,7 +95,7 @@ namespace nmie {
     double GetSizeParameter();
     std::vector<double> GetLayersSize(){return size_param_;};
     std::vector<std::complex<double> > GetLayersIndex(){return refractive_index_;};
-    std::vector<std::array<double, 3> > GetFieldCoords(){return coords_;};
+    std::vector<std::vector<double> > GetFieldCoords(){return coords_;};
 
     std::vector<std::vector< std::complex<double> > > GetFieldE(){return E_;};   // {X[], Y[], Z[]}
     std::vector<std::vector< std::complex<double> > > GetFieldH(){return H_;};