Toby St Clere Smithe <[email protected]>
writes:
> diff --git a/viennacl/linalg/nmf.hpp b/viennacl/linalg/nmf.hpp
> index e47712d..02e4007 100644
> --- a/viennacl/linalg/nmf.hpp
> +++ b/viennacl/linalg/nmf.hpp
> @@ -173,7 +173,7 @@ namespace viennacl
>              std::cout << diff_val / diff_init << std::endl;
>  
>            // Approximation check
> -          if (diff_val / diff_init < conf.tolerance())
> +          if ((diff_val / diff_init < conf.tolerance()) && (conf.iters_ != 
> conf.check_after_steps() + 1))
>              break;
>  
>            // Stagnation check
>

Sorry, this isn't sufficient, I just forgot to copy my changed code
over, so it looked sufficient.. I think the fix will be more involved
than this!

Cheers,

Toby



-- 
Toby St Clere Smithe
http://tsmithe.net


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to