joining code

This commit is contained in:
sm
2011-03-02 23:44:08 -07:00
parent 639f732fce
commit 6e4d8c9505
3 changed files with 8 additions and 9 deletions
+4
View File
@@ -62,6 +62,10 @@ def exact_func_3D(X):
log.debug(answer)
return answer
def exact(X):
x,y,z = X
return 1 + x*x + y*y + z*z
def improved_answer(answer, exact, verbose=False):
if not answer['error']:
return True