Also print mean if no parents
							parent
							
								
									b772d677ec
								
							
						
					
					
						commit
						be8008e4ee
					
				|  | @ -120,6 +120,10 @@ namespace gtsam { | ||||||
|         << endl; |         << endl; | ||||||
|     } |     } | ||||||
|     cout << formatMatrixIndented("  d = ", getb(), true) << "\n"; |     cout << formatMatrixIndented("  d = ", getb(), true) << "\n"; | ||||||
|  |     if (nrParents() == 0) { | ||||||
|  |       const auto mean = solve({});  // solve for mean.
 | ||||||
|  |       mean.print("  mean"); | ||||||
|  |     } | ||||||
|     if (model_) |     if (model_) | ||||||
|       model_->print("  Noise model: "); |       model_->print("  Noise model: "); | ||||||
|     else |     else | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue