Commit 74d59009 authored by Laurent Belcour's avatar Laurent Belcour

Same bug for lafortune, retroblinn than blinn

parent 7b00ec33
......@@ -361,7 +361,7 @@ void lafortune_function::load(std::istream& in)
// Checking for the comment line #FUNC nonlinear_function_lafortune
std::string token;
in >> token;
if(token != "FUNC") { std::cerr << "<<ERROR>> parsing the stream. The #FUNC is not the next line defined." << std::endl; }
if(token != "#FUNC") { std::cerr << "<<ERROR>> parsing the stream. The #FUNC is not the next line defined." << std::endl; }
in >> token;
if(token != "nonlinear_function_lafortune") { std::cerr << "<<ERROR>> parsing the stream. function name is not the next token." << std::endl; }
......
......@@ -43,7 +43,7 @@ void retroblinn_function::load(std::istream& in)
// Checking for the comment line #FUNC nonlinear_function_retroblinn
std::string token;
in >> token;
if(token != "FUNC") { std::cerr << "<<ERROR>> parsing the stream. The #FUNC is not the next line defined." << std::endl; }
if(token != "#FUNC") { std::cerr << "<<ERROR>> parsing the stream. The #FUNC is not the next line defined." << std::endl; }
in >> token;
if(token != "nonlinear_function_retroblinn") { std::cerr << "<<ERROR>> parsing the stream. function name is not the next token." << std::endl; }
......
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