@@ -144,7 +144,7 @@ namespace turi {
144144 /* *
145145 * Generate a random number in the uniform real with range [min,
146146 * max) or [min, max] if the number type is discrete.
147- * [Double overload]
147+ * [Float overload]
148148 */
149149 template <typename NumType>
150150 inline NumType uniform (const NumType min, const NumType max,
@@ -155,14 +155,6 @@ namespace turi {
155155 return d (m_rng);
156156 } // end of uniform
157157
158- /* *
159- * Generate a random number in the uniform real with range [min,
160- * max) or [min, max] if the number type is discrete.
161- */
162- template <typename NumType>
163- inline NumType fast_uniform (const NumType min, const NumType max) {
164- return uniform<NumType>(min, max);
165- }
166158
167159 /* *
168160 * Generate a random number in the uniform real with range [min,
@@ -385,11 +377,16 @@ namespace turi {
385377 * max) or [min, max] if the number type is discrete.
386378 */
387379 template <typename NumType>
388- inline NumType fast_uniform (const NumType min, const NumType max) {
380+ inline NumType uniform (const NumType min, const NumType max) {
389381 if (min == max) return min;
382+ <<<<<<< Updated upstream
390383 return get_source ().fast_uniform <NumType>(min, max);
391384 } // end of uniform
392385
386+ =======
387+ return get_source().uniform<NumType>(min, max);
388+ } // end of uniform
389+ >>>>>>> Stashed changes
393390
394391 /* *
395392 * \ingroup random
0 commit comments