Skip to content

Commit

Permalink
removed param_t helper
Browse files Browse the repository at this point in the history
  • Loading branch information
muellan committed Jul 15, 2017
1 parent b4c587e commit 34cdff6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 77 deletions.
4 changes: 2 additions & 2 deletions include/angle.h
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ class angle_distribution
AM_CHECK_NARROWING(typename Turn::type,typename ValueDistr::result_type)

public:
using param_type = num::param_t<ValueDistr>;
using param_type = typename ValueDistr::param_type;
using numeric_type = typename ValueDistr::result_type;
using result_type = angle<Turn>;

Expand Down Expand Up @@ -1265,7 +1265,7 @@ class uniform_angle_distribution :
public:
//---------------------------------------------------------------
using numeric_type = typename Turn::type;
using param_type = num::param_t<base_t_>;
using param_type = typename base_t_::param_type;

//---------------------------------------------------------------
explicit
Expand Down
6 changes: 1 addition & 5 deletions include/distributions.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ using uniform_number_distribution = typename




/*****************************************************************************
*
*
*
*
*
*****************************************************************************/
template<class Result, class ValueDistribution>
class distribution_adapter
Expand All @@ -73,7 +71,7 @@ class distribution_adapter
public:
//---------------------------------------------------------------
using result_type = Result;
using param_type = param_t<ValueDistribution>;
using param_type = typename ValueDistribution::param_type;


//---------------------------------------------------------------
Expand Down Expand Up @@ -163,9 +161,7 @@ using uniform_distribution_adapter =
distribution_adapter<Result, uniform_number_distribution<numeric_t<Result>> >;



} // namespace num

} // namespace am

#endif // AMLIB_GEOMETRY_CREATION_POINTS_H_
70 changes: 0 additions & 70 deletions include/param.h

This file was deleted.

0 comments on commit 34cdff6

Please sign in to comment.