diff --git a/fedic.py b/fedic.py index 0022e14861924aeb6cc509143386d63ed1ea6866..95856c7c3e90d37d6dbb93069c58b2c8fa76d465 100644 --- a/fedic.py +++ b/fedic.py @@ -58,7 +58,7 @@ def fedic( images_quadrature=None, images_quadrature_from="points_count", # points_count, integral images_expressions_type="cpp", # cpp, py - images_dynamic_scaling=0, + images_dynamic_scaling=1, mesh=None, mesh_folder=None, mesh_basename=None, diff --git a/image_expressions_cpp.py b/image_expressions_cpp.py index 689f93b4486baefdd21a0eafbab5bbc6e0d7bd02..c9cd767f2f647e5c5182c555745eaa35e27901db 100644 --- a/image_expressions_cpp.py +++ b/image_expressions_cpp.py @@ -91,7 +91,7 @@ public: void init_image( const char* filename, - const char* interpol_mode="'''+('''nearest''')*(im_type=="im")+('''nearest''')*(im_type=="grad")+'''", + const char* interpol_mode="'''+('''linear''')*(im_type=="im")+('''linear''')*(im_type=="grad")+'''", const double &interpol_out_value='''+('''0.''')*(im_type=="im")+('''0.''')*(im_type=="grad")+(''', const double &Z=0.''')*(im_dim==2)+''') {