Groups
Groups
Sign in
Groups
Groups
YALMIP
Conversations
Labels
About
Send feedback
Help
ndsdpvar/clean unexpected error
13 views
Skip to first unread message
Maxime GROSSO
unread,
Oct 14, 2025, 4:39:30 AM (13 days ago)
Oct 14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
Hi,
I encountered another unexpected error with clean and ndsdpvar.
s = ndsdpvar(4,4,8)
My bigger code consist on performing s -s as follow :
Here is a minimal code
s = ndsdpvar(4,4,8)
S4 =
cat(4,-s,s)
sum(ans,4)
Seems to be tied to the sum being 0, as sum 4 with independent sdpvar works well
Index exceeds array bounds.
Error in
ndsdpvar/clean
(
line 22
)
if index(1)==1
^^^^^^^^
Error in
ndsdpvar/sum
(
line 61
)
X = clean(X);
^^^^^^^^
I thank you in advance,
Regards,
Maxime
Reply all
Reply to author
Forward
0 new messages