Просмотр исходного кода

update index.html to match README.md

Former-commit-id: fd3496a90ba96c7175c45f1e70022f436ebf4c5e
Alec Jacobson 10 лет назад
Родитель
Сommit
cfb20b5969
1 измененных файлов с 11 добавлено и 9 удалено
  1. 11 9
      index.html

+ 11 - 9
index.html

@@ -118,17 +118,19 @@ caution.</p>
 <p>We really heavily on Eigen. Nearly all inputs and outputs are Eigen matrices of
 <p>We really heavily on Eigen. Nearly all inputs and outputs are Eigen matrices of
 some kind. However, we currently <em>only</em> support Eigen&#8217;s default column-major
 some kind. However, we currently <em>only</em> support Eigen&#8217;s default column-major
 ordering. That means, we <strong>do not</strong> expect our code to work for matrices using
 ordering. That means, we <strong>do not</strong> expect our code to work for matrices using
-the <code>Eigen::RowMajor</code> flag. If you can, change definitions like:
-<code>cpp
-Eigen::Matrix&lt;double, Eigen::Dynamic, 3, Eigen::RowMajor&gt; A;
-</code>
-to
-<code>cpp
-Eigen::Matrix&lt;double, Eigen::Dynamic, 3, Eigen::ColMajor&gt; A;
+the <code>Eigen::RowMajor</code> flag. If you can, change definitions like:</p>
+
+<pre><code class="cpp">Eigen::Matrix&lt;double, Eigen::Dynamic, 3, Eigen::RowMajor&gt; A;
+</code></pre>
+
+<p>to</p>
+
+<pre><code class="cpp">Eigen::Matrix&lt;double, Eigen::Dynamic, 3, Eigen::ColMajor&gt; A;
 // or simply
 // or simply
 Eigen::Matrix&lt;double, Eigen::Dynamic, 3&gt; A;
 Eigen::Matrix&lt;double, Eigen::Dynamic, 3&gt; A;
-</code>
-We hope to fix this, or at least identify which functions are safe (many of
+</code></pre>
+
+<p>We hope to fix this, or at least identify which functions are safe (many of
 them probably work just fine). This requires setting up unit testing, which is
 them probably work just fine). This requires setting up unit testing, which is
 a major <em>todo</em> for our development.</p>
 a major <em>todo</em> for our development.</p>