Skip to content
Snippets Groups Projects
Commit 1532d2a8 authored by Antoine Merle's avatar Antoine Merle
Browse files

Fix bug when computing G-coil geometry.

parent e4b79636
No related branches found
No related tags found
1 merge request!40Ids tweaks
......@@ -60,7 +60,7 @@ iT = strcmp('T_003',namepfc); % Return current
nt_c(iT)=1;
% Approximate circular G-coil conductor with a square of the same crosssection
iG=strcmp('G_00',namepfc);
iG=strncmp('G_00',namepfc,4);
w_c(iG)=sqrt(xsect_c(iG));
h_c(iG)=sqrt(xsect_c(iG));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment