Commit 764ea70c authored by Matthieu Tristram's avatar Matthieu Tristram
Browse files

Clean WARNING for non-void function without return

parent 473ee676
...@@ -118,8 +118,8 @@ Engine::get(const std::string& key) ...@@ -118,8 +118,8 @@ Engine::get(const std::string& key)
else if (var=="z_reio") return get_z_reio(); else if (var=="z_reio") return get_z_reio();
else if (var=="H") return get_H(z); else if (var=="H") return get_H(z);
else if (var=="com_distance") return com_distance(z); else if (var=="com_distance") return com_distance(z);
else if (var=="growthD") return get_growthD(z); else if (var=="growthD") return get_growthD(z);
else planck_assert(false,("key="+key+" not found in Engine::get()")); else { planck_assert(false,("key="+key+" not found in Engine::get()")); return -1;}
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment