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: 4796bcf0b3a5b4dc8d900819bdab980e3d31c873c3314c96577bba8ec8632cfa
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: 3c29ac88b7 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: 4796bcf0b3 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: 26d58e31f0 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 ]