Mercurial > hg > smallbox
comparison bugs.m @ 108:b14e1f6ee4be ver_1.1
Merge
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Wed, 18 May 2011 11:50:28 +0100 |
parents | 298fa66fe344 |
children |
comparison
equal
deleted
inserted
replaced
107:dab78a3598b6 | 108:b14e1f6ee4be |
---|---|
1 % MDP: File "COPYING" is not included in the distribution? | |
2 | |
3 % I encountered an error while running SMALL_solver_test_Audio : | |
4 | |
5 %??? Error using ==> | |
6 %problems\private\completeOps>@(x)reshape(data.B(x,1),data.signalSize) | |
7 %Too many input arguments. | |
8 %Error in ==> SMALL_playAudio at 17 | |
9 %SMALL.solver.reconstructed = SMALL.Problem.reconstruct(SMALL.solver.solution); | |
10 %Error in ==> SMALL_solver_test_Audio at 96 | |
11 %SMALL_playAudio(SMALL); | |
12 | |
13 | |
14 % version of Matlab used: 7.9.0.529 - 64 bits | |
15 | |
16 | |
17 | |
18 Bugs by Raja Giryes: | |
19 Using the tollbox on windows with Matlab R2010b: | |
20 bug1: | |
21 running SMALL_solver_test_Audio.m | |
22 I get: | |
23 Starting solver SMALL_cgp... | |
24 Solver SMALL_cgp finished task in 251.208410 seconds (cpu time). | |
25 Solver SMALL_cgp finished task in 159.905633 seconds (tic-toc time). | |
26 | |
27 Starting solver SolveBP... | |
28 ??? Error using ==> eval | |
29 Undefined function or method 'SolveBP' for input arguments of type | |
30 'function_handle'. | |
31 | |
32 Error in ==> SMALL_solve at 46 | |
33 y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']); | |
34 | |
35 Error in ==> SMALL_solver_test_Audio at 93 | |
36 SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i)); | |
37 | |
38 running SMALL_solver_test.m | |
39 I get: | |
40 Starting solver SMALL_cgp... | |
41 Solver SMALL_cgp finished task in 2.839218 seconds (cpu time). | |
42 Solver SMALL_cgp finished task in 2.821443 seconds (tic-toc time). | |
43 | |
44 Starting solver SolveOMP... | |
45 ??? Error using ==> eval | |
46 Undefined function or method 'SolveOMP' for input arguments of type | |
47 'function_handle'. | |
48 | |
49 Error in ==> SMALL_solve at 46 | |
50 y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']); | |
51 | |
52 Error in ==> SMALL_solver_test at 113 | |
53 SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i)); | |
54 | |
55 | |
56 Bug report from Mehrdad Yaghoobi: | |
57 1. The rice mdwt crashed on my matlab session runing on linux 64!!! | |
58 2. problem with hg merge using EasyMercurial. | |
59 | |
60 | |
61 | |
62 | |
63 % MDP: Files "my_dummy_solver.m" etc should include the boiler plate function | |
64 % header etc. | |
65 | |
66 | |
67 | |
68 | |
69 %%%%%%%%%%%%%%%%% | |
70 % bug by Valentin | |
71 %%%%%%%%%%%%%%%%% | |
72 % In SMALLboxSetup.m | |
73 % On Windows XP, 32 bits, Matlab R2010a | |
74 % | |
75 % > SMALLboxSetup | |
76 % ... | |
77 % Compiling the Rice Wavelet Toolbox MEX interfaces...Error mdwt.c: 39 undeclared identifier `intptr_t' | |
78 % Warning mdwt.c: 39 Statement has no effect | |
79 % Error mdwt.c: 39 syntax error; found `m' expecting `;' | |
80 % Error mdwt.c: 39 undeclared identifier `m' | |
81 % Error mdwt.c: 39 undeclared identifier `n' | |
82 % Error mdwt.c: 39 undeclared identifier `h_col' | |
83 % Error mdwt.c: 39 undeclared identifier `h_row' | |
84 % Error mdwt.c: 39 undeclared identifier `lh' | |
85 % Error mdwt.c: 39 undeclared identifier `L' | |
86 % Error mdwt.c: 39 undeclared identifier `i' | |
87 % Error mdwt.c: 39 undeclared identifier `po2' | |
88 % Error mdwt.c: 39 undeclared identifier `j' | |
89 % Warning mdwt.c: 39 Statement has no effect | |
90 % Error mdwt.c: 40 illegal statement termination | |
91 % Error mdwt.c: 40 skipping `double' | |
92 % Error mdwt.c: 40 undeclared identifier `mtest' | |
93 % Error mdwt.c: 40 undeclared identifier `ntest' | |
94 % Warning mdwt.c: 40 Statement has no effect | |
95 % Error mdwt.c: 62 operands of * have illegal types `int' and `pointer to double' | |
96 % Warning mdwt.c: 39 possible usage of po2 before definition | |
97 % Warning mdwt.c: 39 possible usage of intptr_t before definition | |
98 % Warning mdwt.c: 38 local `pointer to double Lf' is not referenced | |
99 % Error mdwt.c: 106 missing parameter type | |
100 % Error mdwt.c: 106 syntax error; found `m' expecting `)' | |
101 % Error mdwt.c: 106 skipping `m' `,' `intptr_t' `n' `,' | |
102 % Error mdwt.c: 106 syntax error; found `double' expecting `{' | |
103 % Error mdwt.c: 106 too many errors | |
104 % | |
105 % C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'mdwt.c' failed. | |
106 % | |
107 % Warning: Could not compile Rice Wavelet Toolbox MEX interfaces.\n | |
108 % > In SMALLboxSetup at 365 | |
109 % | |
110 % ****************************************************************** | |
111 % | |
112 % Initialising SMALLbox Examples Setup | |
113 % ****************************************************************** | |
114 % | |
115 % SMALLbox Installation Complete! | |
116 % | |
117 % For more information on the installed toolboxes see | |
118 % | |
119 % Sparco: http://www.cs.ubc.ca/labs/scl/sparco/ | |
120 % | |
121 % SPGL1: http://www.cs.ubc.ca/labs/spgl1/?n=HomePage | |
122 % | |
123 % SparseLab: http://sparselab.stanford.edu/ (PLEASE REGISTER SPARSELAB!) | |
124 % | |
125 % Sparsify: http://www.see.ed.ac.uk/~tblumens/sparsify/sparsify.html | |
126 % | |
127 % GPSR: http://www.lx.it.pt/~mtf/GPSR/ | |
128 % | |
129 % OMPbox and KSVDBox: http://www.cs.technion.ac.il/~ronrubin/ | |
130 % | |
131 % | |
132 % Would you like to run a demo: ([y]/n)? | |
133 % | |
134 % 1 to run SMALL_solver_test | |
135 % 2 to run Dictionary Learning for Image Denoising demo | |
136 % q to quit: 1 | |
137 % | |
138 % Running SMALL_solver_test problem | |
139 % | |
140 % Example test of SMALL solvers against their counterparts on Sparco problems. | |
141 % | |
142 % ??? Undefined function or method 'mdwt' for input arguments of type | |
143 % 'double'. | |
144 % | |
145 % Error in ==> opWavelet>opWavelet_intrnl at 55 | |
146 % [y,l] = mdwt(reshape(x,[m,n]), h, levels); | |
147 % | |
148 % Error in ==> | |
149 % opWavelet>@(x,mode)opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode) | |
150 % at 37 | |
151 % op = @(x,mode) | |
152 % opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode); | |
153 % | |
154 % Error in ==> prob006 at 67 | |
155 % data.x0 = data.op.Daubechies(data.signal,2); | |
156 % | |
157 % Error in ==> generateProblem at 101 | |
158 % [data] = eval(sprintf('prob%03d(varargin{:});',index)); | |
159 % | |
160 % Error in ==> SMALL_solver_test at 61 | |
161 % SMALL.Problem = generateProblem(6, 'P', 6, 'm', 270,'n',1024, | |
162 % 'show'); | |
163 % | |
164 % Error in ==> SMALLboxSetup at 416 | |
165 % SMALL_solver_test; | |
166 % |