fix interface errors
This commit is contained in:
parent
d9648a6250
commit
2262b0269a
@ -133,7 +133,7 @@ void gctl::read_IGRF_table(std::string file, array<IGRF_para> &IGRFs, int head_r
|
|||||||
}
|
}
|
||||||
infile.close();
|
infile.close();
|
||||||
|
|
||||||
IGRFs.import_vector(vec_para);
|
IGRFs.input(vec_para);
|
||||||
destroy_vector(vec_para);
|
destroy_vector(vec_para);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -472,7 +472,7 @@ void data_cloud(const std::vector<std::string> &cmd_units)
|
|||||||
array<point2dc> posi_arr(posix_vec.size());
|
array<point2dc> posi_arr(posix_vec.size());
|
||||||
array<double> posi_val;
|
array<double> posi_val;
|
||||||
|
|
||||||
posi_val.import_vector(data_vec);
|
posi_val.input(data_vec);
|
||||||
for (size_t i = 0; i < posi_arr.size(); i++)
|
for (size_t i = 0; i < posi_arr.size(); i++)
|
||||||
{
|
{
|
||||||
posi_arr[i].x = posix_vec[i];
|
posi_arr[i].x = posix_vec[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user