Skip to content

Commit

Permalink
Update SphericalVector.cc
Browse files Browse the repository at this point in the history
Removed dead code missed in last PR.
  • Loading branch information
odlomax authored Mar 6, 2024
1 parent 27ddc3b commit 24b664b
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,7 @@ void SphericalVector::do_setup(const FunctionSpace& source,
// whereas eckit does not.
auto complexTriplets = ComplexTriplets(nNonZeros);
auto realTriplets = RealTriplets(nNonZeros);

// Make sure halo lonlats are same as owned points.
auto sourceLonLats = source_.createField<double>(option::name("lonlat") |
option::variables(2));
auto targetLonLats = target_.createField<double>(option::name("lonlat") |
option::variables(2));

const auto sourceLonLatsView = array::make_view<double, 2>(source_.lonlat());
const auto targetLonLatsView = array::make_view<double, 2>(target_.lonlat());

Expand Down

0 comments on commit 24b664b

Please sign in to comment.