CHLNDDEV / oceanmesh

Automatic coastal ocean mesh generation in Python and C++. **under development**
GNU General Public License v3.0
47 stars 15 forks source link

Update mesh_generator.py #40

Closed ml14je closed 2 years ago

ml14je commented 2 years ago

Corrected einstein summation indexing for dist_2 in function _closest_node from np.einsum("ij,i->i", deltas, deltas) to np.einsum("ij,ij->i", deltas, deltas) on line 497.