Achim Gratz <strom...@nexgo.de> writes: > Eric Schulte writes: >> Applied, Thanks! >> >> Litvinov Sergey <slitvi...@gmail.com> writes: >> >>> I would like to propose a tiny patch which adds matrix as an input for >>> ob-fortran.el. See changes in testing/examples/ob-fortran-test.org for >>> the examples. > > I've not had time to test with anything, but this patch seems to make > the same faulty assumption about tables always being a list of lists > that I fixed just a few days ago someplace else. When dealing with > tables you have to expect hlines in place of a list with the row values > otherwise you will not correctly recognize them. >
Agreed, I've just updated the matrix check in ob-fortran to be more strict so that tables with hlines will not be treated as matrices. A more sophisticated solution to correctly interpret hlines in a manner acceptable to Fortran would require more Fortran knowledge than I posses. Best, > > > Regards, > Achim. -- Eric Schulte http://cs.unm.edu/~eschulte