Skip to content

Commit 80b4209

Browse files
committed
fix matrix 2d graphs
1 parent bc79bbb commit 80b4209

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl Type {
5050
}
5151
#[cfg(feature = "kalc-lib")]
5252
fn is_3d_i(&self) -> bool {
53-
(self.how.x && self.how.y) || matches!(self.val, Val::Matrix(_))
53+
(self.how.x && self.how.y) || matches!(self.val, Val::Matrix(Mat::D3(_)))
5454
}
5555
#[cfg(not(feature = "kalc-lib"))]
5656
fn is_3d_i(&self) -> bool {

0 commit comments

Comments
 (0)