Overview
Comment:[ 852694 ] octave 2.1.52 breaks rbg2abg
same fix as rbg2abg.m
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 06cf543bc8904f841cf687fa18825e07a0be26144acfb06af868b211cd6a1807
User & Date: geraint@users.sourceforge.net on 2004-02-20 11:48:50
Other Links: branch diff | manifest | tags
Context
2004-02-20
15:53:00
<mtt_model_name>_ae returns void, not double *. check-in: ef6c57a0eb user: geraint@users.sourceforge.net tags: origin/master, trunk
11:48:50
[ 852694 ] octave 2.1.52 breaks rbg2abg
same fix as rbg2abg.m
check-in: 06cf543bc8 user: geraint@users.sourceforge.net tags: origin/master, trunk
2004-02-19
18:27:47
[ 852694 ] octave 2.1.52 breaks rbg2abg

Octave now prefers row vectors to column vectors. check-in: 2e018ebcd2 user: geraint@users.sourceforge.net tags: origin/master, trunk

Changes

Modified mttroot/mtt/bin/trans/m/rbg2ibg.m from [4291baf4d9] to [d1b6aaad6f].

69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
	    ("A port is near to more than one bond at coordinates \
	  %g,%g %s\n", ...
	     port_coord(i,1)/scale, port_coord(i,2)/scale, \
	     deblank(port_name(i,:))));
    endif
    
    ## The (signed) bond corresponding to the ith port label
    port_bond(i) = near_bond(1) * sign(1.5 - near_bond(2));
  endfor
  port_bond

  ## Now have (signed) bond (port_bond(i)) corresponding to the ith port
  ## Create inverse mapping
  for i = 1:n_bonds
    eval(sprintf('bond_port_head%i = "[]"', i))







|







69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
	    ("A port is near to more than one bond at coordinates \
	  %g,%g %s\n", ...
	     port_coord(i,1)/scale, port_coord(i,2)/scale, \
	     deblank(port_name(i,:))));
    endif
    
    ## The (signed) bond corresponding to the ith port label
    port_bond(i,1) = near_bond(1) * sign(1.5 - near_bond(2));
  endfor
  port_bond

  ## Now have (signed) bond (port_bond(i)) corresponding to the ith port
  ## Create inverse mapping
  for i = 1:n_bonds
    eval(sprintf('bond_port_head%i = "[]"', i))


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]