view bugs.m @ 105:e1f90e0f76ec

Suggestion to put boiler plate code in dummy files.
author Mark Plumbley <mark.plumbley@eecs.qmul.ac.uk>
date Tue, 12 Apr 2011 15:14:28 +0100
parents 0e6a97a4c787
children 298fa66fe344
line wrap: on
line source
% MDP: File "COPYING" is not included in the distribution?

% I encountered an error while running SMALL_solver_test_Audio :

%??? Error using ==>
%problems\private\completeOps>@(x)reshape(data.B(x,1),data.signalSize)
%Too many input arguments.
%Error in ==> SMALL_playAudio at 17
%SMALL.solver.reconstructed  = SMALL.Problem.reconstruct(SMALL.solver.solution);
%Error in ==> SMALL_solver_test_Audio at 96
%SMALL_playAudio(SMALL);
 

% version of Matlab used: 7.9.0.529  - 64 bits



Bugs by Raja Giryes:
Using the tollbox on windows with Matlab R2010b:
bug1:
running SMALL_solver_test_Audio.m 
I get:
Starting solver SMALL_cgp... 
Solver SMALL_cgp finished task in 251.208410 seconds (cpu time). 
Solver SMALL_cgp finished task in 159.905633 seconds (tic-toc time). 

Starting solver SolveBP... 
??? Error using ==> eval
Undefined function or method 'SolveBP' for input arguments of type
'function_handle'.

Error in ==> SMALL_solve at 46
    y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);

Error in ==> SMALL_solver_test_Audio at 93
SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));

running SMALL_solver_test.m
I get:
Starting solver SMALL_cgp... 
Solver SMALL_cgp finished task in 2.839218 seconds (cpu time). 
Solver SMALL_cgp finished task in 2.821443 seconds (tic-toc time). 

Starting solver SolveOMP... 
??? Error using ==> eval
Undefined function or method 'SolveOMP' for input arguments of type
'function_handle'.

Error in ==> SMALL_solve at 46
    y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);

Error in ==> SMALL_solver_test at 113
SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));


Bug report from Mehrdad Yaghoobi:
1. The rice mdwt crashed on my matlab session runing on linux 64!!!
2. problem with hg merge using EasyMercurial.

% MDP: Files "my_dummy_solver.m" etc should include the boiler plate function
% header etc.