Overview
Comment: | Minor typo in error message. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
23d68445c2cd095402edd971f8b69b15 |
User & Date: | geraint@users.sourceforge.net on 2004-07-22 13:18:02 |
Other Links: | branch diff | manifest | tags |
Context
2004-07-22
| ||
21:28:22 | It works!!! -ibg gives identical results (abg.m and odeso.view) for rc, rc2, Clutch and BigHeatedRod! check-in: 8c00accc0a user: geraint@users.sourceforge.net tags: origin/master, trunk | |
13:18:02 | Minor typo in error message. check-in: 23d68445c2 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2004-07-21
| ||
22:55:43 |
Updating with locally modified version.
rc, rc2 and Clutch work flawlessly; abg.m is identical whether or not -ibg is used. | |
Changes
Modified mttroot/mtt/bin/trans/m/rbg2abg.m from [8cc9c0a13a] to [88812e8fad].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | function [bonds,components,n_vector_bonds] = rbg2abg(name,rbonds,rstrokes,rcomponents,\ port_coord,port_name,\ infofile,errorfile) ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ ## ## Revision 1.47 2002/08/27 16:09:01 geraint ## ## Added port_name to error message when multiple bonds are near a port. ## ## ## ## Revision 1.46 2000/09/11 08:22:02 peterg ## ## Checks for absent port list in subsystem abg file. ## ## ## ## Revision 1.45 1999/10/19 02:13:31 peterg | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | function [bonds,components,n_vector_bonds] = rbg2abg(name,rbonds,rstrokes,rcomponents,\ port_coord,port_name,\ infofile,errorfile) ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ ## ## Revision 1.48 2004/02/19 18:27:47 geraint ## ## [ 852694 ] octave 2.1.52 breaks rbg2abg ## ## ## ## Octave now prefers row vectors to column vectors. ## ## ## ## Revision 1.47 2002/08/27 16:09:01 geraint ## ## Added port_name to error message when multiple bonds are near a port. ## ## ## ## Revision 1.46 2000/09/11 08:22:02 peterg ## ## Checks for absent port list in subsystem abg file. ## ## ## ## Revision 1.45 1999/10/19 02:13:31 peterg |
︙ | ︙ | |||
641 642 643 644 645 646 647 | mtt_error(['Component ', comp_name, ' (', comp_type, ') has no labeled ports'], errorfile); endif ##Write out the signed bond list in the correct order unsorted_port_list [n_list,m_list] = size(unsorted_port_list); if n_list!=n_comp_bonds | | | 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 | mtt_error(['Component ', comp_name, ' (', comp_type, ') has no labeled ports'], errorfile); endif ##Write out the signed bond list in the correct order unsorted_port_list [n_list,m_list] = size(unsorted_port_list); if n_list!=n_comp_bonds error(sprintf("Component %s (%s) has %i bonds but %i port labels",\ comp_name, comp_type, n_comp_bonds, n_list)) endif for j = 1:n_comp_bonds j name_k = unsorted_port_list(j,:) k = name_in_list(name_k, port_list); |
︙ | ︙ |