提交 865bfecb authored 作者: Thomas Mueller's avatar Thomas Mueller

MVStore: support one dimensional r-trees

上级 98875cbe
...@@ -22,8 +22,8 @@ public class SpatialDataType implements DataType { ...@@ -22,8 +22,8 @@ public class SpatialDataType implements DataType {
public SpatialDataType(int dimensions) { public SpatialDataType(int dimensions) {
DataUtils.checkArgument( DataUtils.checkArgument(
dimensions > 1 && dimensions < 256, dimensions >= 1 && dimensions < 256,
"Dimensions must be between 2 and 255, is {0}", dimensions); "Dimensions must be between 1 and 255, is {0}", dimensions);
this.dimensions = dimensions; this.dimensions = dimensions;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论