Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
skulumani committed Jun 2, 2018
1 parent 4e9a068 commit 6078b5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/potential.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class Asteroid {
Asteroid(const std::string& name_in, MeshParam& mesh_param);
Asteroid(const std::string& name_in,
const Eigen::Ref<const Eigen::Matrix<double, Eigen::Dynamic, 3> >& V_in,
const Eigen::Ref<const Eigen::Matrix<int, Eigen::Dyanmic, 3> >& F_in);
const Eigen::Ref<const Eigen::Matrix<int, Eigen::Dynamic, 3> >& F_in);
Asteroid(const std::string& name_in, std::shared_ptr<MeshParam> mesh_param);
Asteroid(const std::string& name_in, std::shared_ptr<ReconstructMesh> rmesh_in);
Asteroid(const std::string& name_in, std::shared_ptr<MeshData> mesh_in);
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/test_stats.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stats.hpp"
#include "surface_mesher.hpp"
#include "mesh_data.hpp"
#include "mesh.hpp"
#include "potential.hpp"
#include "reconstruct.hpp"

Expand Down Expand Up @@ -100,7 +100,7 @@ TEST_F(TestStats, MeshParamVolume) {
SurfMesh smesh(1, 1, 1, 10, 0.1, 0.1);
double volume_verts = PolyVolume::volume(smesh.get_verts(), smesh.get_faces());
std::shared_ptr<MeshParam> meshparam_ptr = std::make_shared<MeshParam>(smesh.get_verts(), smesh.get_faces());
doubel volume_mesh = PolyVolume::volume(meshparam_ptr);
double volume_mesh = PolyVolume::volume(meshparam_ptr);
ASSERT_NEAR(volume_verts, volume_mesh, 1e-6);
}

Expand Down

0 comments on commit 6078b5e

Please sign in to comment.