~ioiojo/kiwi

188c764a7a30d4a76393d8bdd95997b4853f2c94 — Andy Weidenbaum 2 years ago 10aee58
decrease minimum kcal delta to 100
1 files changed, 3 insertions(+), 3 deletions(-)

M src/plan.rs
M src/plan.rs => src/plan.rs +3 -3
@@ 58,7 58,7 @@ pub struct Plan {
    /// Muscle gains require creating a caloric surplus, i.e. consuming more calories
    /// than your TDEE.
    ///
    /// As a starting point, add 250-500 extra calories to your TDEE, and adjust based on
    /// As a starting point, add 100-500 extra calories to your TDEE, and adjust based on
    /// results.
    ///
    /// ### Goal: Fat Loss


@@ 66,7 66,7 @@ pub struct Plan {
    /// Fat loss requires creating a caloric deficit, i.e. consuming less calories than
    /// your TDEE.
    ///
    /// As a starting point, subtract 250-500 extra calories from your TDEE, and adjust
    /// As a starting point, subtract 100-500 extra calories from your TDEE, and adjust
    /// based on results.
    pub kcal: Kcal,



@@ 188,7 188,7 @@ fn tdee_from_bmr(bmr: f64, activity_level: &ActivityLevel) -> f64 {
/// Given TDEE, return recommended caloric intake range for muscle gain and fat loss.
fn kcal_from_tdee(tdee: f64) -> Kcal {
    // Small kcal delta.
    let small = 250.0;
    let small = 100.0;

    // Large kcal delta.
    let large = 500.0;